@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

@font-face {
  font-family: 'tajawal-regular';
  src: url('../fonts/Tajawal/Tajawal-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'tajawal-medium';
  src: url('../fonts/Tajawal/Tajawal-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'tajawal-bold';
  src: url('../fonts/Tajawal/Tajawal-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto-medium';
  src: url('../fonts/roboto/Roboto_Condensed-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto-Regular';
  src: url('../fonts/roboto/Roboto_Condensed-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'poppins-Regular';
  src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
}


:root {
  --primary-color: #1AA8B2;
  --secondary-color: #009DA3;
  --light-theme: #E9FAFC;
  --bg-gray: #f4f4f4;
  --dark-bg: #111111;
  --dark-text: #1E293B;
  --light-bg: #FFFFFF;
  --black-text: #000000;
  --text-gray: #666666;
  --dark-gray: #94A3B8;
  --border-color: #E2E8F0;
  --font-main: 'tajawal-regular';
  --font-main-medium: 'tajawal-medium';
  --font-main-bold: 'tajawal-bold';
  --shadow-main: 0px 25px 50px -12px #0000000D;
}

body {
  font-family: 'tajawal-regular';
}


.daterangepicker .ranges li,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: 'tajawal-regular';
}

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

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  padding: 10px 0;
  background: var(--light-bg);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar .dropdown-menu {
  padding: 0;
}

.navbar-brand .logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .logo-text img {
  height: 40px;
}

.navbar-brand .logo-text span {
  color: var(--primary-color);
}


.nav-link {
  font-weight: 500;
  color: var(--dark-text) !important;
  margin: 0 15px;
  font-size: 1.05rem;
  padding: 5px 0 !important;
}

.nav-link.active {
  color: var(--primary-color) !important;
  border-bottom: 3px solid var(--primary-color);
}

.lang-switch-btn {
  border: 1px solid var(--border-color);
  background: var(--light-bg);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 50px;
  color: var(--dark-text);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: relative;
}

.lang-switch-btn:hover {
  border-color: var(--primary-color);
  background: var(--border-color);
}

/* Custom CSS Arrow */
.lang-switch-btn::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-gray);
  border-bottom: 2px solid var(--text-gray);
  transform: rotate(45deg);
  margin-top: -4px;
  margin-left: 4px;
  transition: 0.3s;
  border-left: none !important;
  border-top: none !important;
}

.lang-switch-btn.show::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.dropdown-menu-end .dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 8px;
  margin-top: 10px !important;
}

.dropdown-menu-end .dropdown-item {
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 500;
  color: var(--dark-text);
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: rgba(26, 192, 198, 0.05);
  color: var(--primary-color);
}



/* Custom Switch for Dark Mode */
.custom-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-switch .form-check-input {
  width: 60px !important;
  height: 36px !important;
  background-color: var(--light-bg) !important;
  border-color: var(--border-color) !important;
  background-image: url("../img/btn-toggle.svg") !important;
  background-size: 24px !important;
  background-position: left 4px center !important;
  cursor: pointer;
  border-radius: 50px;
  position: relative;
  top: -2px;
}

.custom-switch .form-check-input:checked {
  background-color: #333333 !important;
  border-color: #333333 !important;
  background-image: url("../img/dark-toggle.svg") !important;
  background-position: right 4px center !important;
}

/* Hero Section */
.banner-slider .item {
  position: relative;
  height: 560px;
  display: flex;
  align-items: baseline;
  overflow: hidden;
  padding-top: 110px;
  width: calc(100% + 4px);
  left: -1px;
  position: relative;
}

.img-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 102% !important;
  height: 560px;
  top: 0;
  left: -1%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  animation: move-right 10s linear infinite;
}

.img-item {
  position: absolute;
  top: 100px;
  left: 30px;
  height: 450px;
  width: unset !important;
  z-index: 1;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.owl-item.active .img-item {
  opacity: 1;
  transform: translateX(0);
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: 0.5s;
}

@keyframes move-right {
  0% {
    transform: translateX(-1%);
  }

  50% {
    transform: translateX(1%);
  }

  100% {
    transform: translateX(-1%);
  }
}

/* .hero-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-text);
  opacity: 0.3;
} */

.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: block;
  width: 482px;
  max-width: 100%;
}

.banner-slider .item {
  position: relative;
}

.hero-subtitle-top {
  font-size: 21px;
  color: #fff;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 45px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 100px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-title span {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 15px;
  right: 0;
  width: 100%;
  height: 10px;
  background: rgba(26, 192, 198, 0.15);
  z-index: -1;
  border-radius: 5px;
}

.hero-car {
  position: absolute;
  right: 50%;
  bottom: 0px;
  transform: translate(0, 0);
  width: 60%;
  z-index: 3;
  filter: drop-shadow(40px 60px 80px rgba(0, 0, 0, 0.2));
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-car:hover {
  transform: translate(25px, -15px) scale(1.03);
}

/* Sticky Navbar */
.navbar.sticky-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.btn-main {
  padding: 6px 30px;
  border-radius: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  font-size: 14px;
  height: 44px;
  min-width: 177px;
  justify-content: center;
}

.owl-carousel .owl-item .btn-main img,
.btn-main img {
  width: 16px;
}

.btn-primary-teal {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 10px 20px rgba(26, 192, 198, 0.2);
}

.price-sidebar-card .btn-primary-teal {
  height: 56px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 500;
  width: 100%;
}

.btn-secondary-teal {
  background: var(--light-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  transition: 0.5s;
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

/* Footer improvements */
footer {
  background: #EBEEF1;
  padding: 50px 0 30px;
}

footer .list-unstyled li a:hover {
  color: var(--primary-color) !important;
  padding-right: 5px;
  transition: 0.3s;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  flex: 0 0 calc(25% - 12px);
}

.footer-head {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-main-medium);
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}



/* Car Dots (Slider Pagination) */
.owl-carousel .owl-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.owl-carousel,
.owl-stage-outer {
  overflow: hidden !important;
  /* Prevent browser from scrolling container on focus */
  scroll-behavior: auto !important;
  -webkit-overflow-scrolling: auto !important;
}

.owl-item:not(.active) {
  /* Prevent accidental interaction with hidden items */
  pointer-events: none;
  visibility: hidden;
  /* Extra precaution */
}

.owl-item.active {
  pointer-events: auto;
  visibility: visible;
}

.owl-carousel .owl-dots .owl-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50%;
  background: #94A3B8 !important;
  cursor: pointer;
  transition: 0.3s;
  padding: 0 !important;
  border: none !important;
}

.owl-carousel .owl-dots .owl-dot.active {
  width: 30px !important;
  border-radius: 10px !important;
  background: var(--primary-color) !important;
}

.owl-carousel .owl-dots {
  bottom: 80px;
}

@keyframes opacity {
  0% {
    opacity: 0.2;
    /* Start at normal size */
  }

  50% {
    opacity: 0.4;
    /* Scale up */
  }

  100% {
    opacity: 0.2;
    /* Return to normal size */
  }
}



/* Hero Hints Styles */
.hints-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* pointer-events: none; */
  z-index: 5;
}

.hints-style {
  position: absolute;
  display: flex;
  align-items: center;
  padding: 3px 5px;
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: float 5s ease-in-out infinite;
  backdrop-filter: blur(5px);
}

.hints-style img {
  width: 44px;
  height: 50px;
  padding: 0;
  background: var(--light-bg);
  border-radius: 50%;
  object-fit: contain;
}

.hints-style span {
  white-space: nowrap;
  display: inline-block;
  padding: 0 10px;
  color: #147E85;
}

/* Individual Hints Customization */
.hints-style:nth-child(1) {
  /* Fast / Easy approval - Bottom Center */
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  bottom: 25%;
  right: 48%;
  animation-delay: 0.5s;
}

.hints-style:nth-child(1) img {
  background: var(--primary-color);
  order: 2;
}

.hints-style:nth-child(2) {
  /* Bank / SAMA - Top Center */
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  top: 32%;
  right: 57%;
  animation-delay: 1.5s;
}

.hints-style:nth-child(2) img {
  border: 1px solid #eee;
  order: 2;
}

.hints-style:nth-child(3) {
  /* Protected / Secure - Top Left */
  background: var(--primary-color);
  color: var(--light-bg);
  top: 22%;
  left: 5%;
  animation-delay: 0s;
}

.hints-style:nth-child(3) img {
  background: var(--light-bg);
}

.hints-style:nth-child(3) span {
  color: var(--light-bg);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}


/* Compare Section Styles */
.compare-section-wrapper {
  background: #F2F2F280;
  min-height: 100vh;
  padding-top: 120px;
}

.compare-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}

.compare-header {
  background: #1AA8B2;
  color: #fff;
  padding: 20px 30px 1px;
}
.compare-stars-inline-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5px;
}
.compare-stars  {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.compare-stars i {
  color: #B88D00;
}
.compare-offer-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  transition: color 0.3s;
}
.compare-offer-title.gold-title {
  color: #B88D00;
}

.compare-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}
#backToOffersBtn {
  padding: 12px 20px;
  width: 40%;
}
.compare-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.compare-table th,
.compare-table td {
  padding: 20px;
  border: 1px solid #F1F5F9;
  min-width: 200px;
}

.compare-table .criteria-col,
.compare-table .criteria-label {
  background: #fff;
  font-weight: 700;
  color: #1E293B;
  text-align: right;
  min-width: 150px;
  position: sticky;
  right: 0;
  z-index: 2;
}

.compare-bank-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.compare-bank-logo img {
  max-width: 100%;
  max-height: 100%;
}

.best-value {
  background-color: #0596691A !important;
}
.

.best-badge {
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
}

.compare-table .value {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
}

.btn-outline-teal {
  border: 2px solid #1AA8B2;
  color: #1AA8B2;
  transition: all 0.3s;
}

.btn-outline-teal:hover {
  background: #1AA8B2;
  color: #fff;
}


/* Mobile Offcanvas Filter Styles */
@media (max-width: 991.98px) {
  .offcanvas-title {
    display: block;
    text-align: center;
    width: 100%;
  }

  .filter-sidebar-offcanvas {
    width: 100% !important;
    border: none !important;
    transition: transform 0.3s ease-in-out !important;
  }

  .filter-sidebar-offcanvas.showing,
  .filter-sidebar-offcanvas.show:not(.hiding) {
    transform: none !important;
  }

  .offcanvas-backdrop.show {
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
  }

  .filter-sidebar-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
  }

  .filter-sidebar-offcanvas .offcanvas-body {
    padding: 20px 15px;
    background-color: var(--light-bg);
  }

  .filter-sidebar-offcanvas .filter-sidebar {
    background: transparent;
    padding: 15px;
    box-shadow: none;
  }

  .filter-sidebar-offcanvas .filter-section {
    margin-bottom: 15px;
  }

  .filter-sidebar-offcanvas .filter-accordion-header {
    background: var(--light-bg);
    border: 1px solid #F1F5F9;
    border-radius: 12px;
    padding: 15px;
  }

  .filter-sidebar-offcanvas .filter-accordion-header:not(.collapsed) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .filter-accordion-body {
    padding: 0 5px;
  }

  .filter-sidebar-offcanvas .filter-accordion-body {
    border: 1px solid #F1F5F9;
    border-top: none;
    background: var(--border-color);
  }

  .filter-sidebar-offcanvas .range-container-car-list {
    margin-top: 30px;
    padding: 0;
  }

  .mobile-price-badges {
    margin-top: 10px !important;
    align-items: center;
    margin-bottom: 10px;
  }

  .price-badge-item {
    background: #edf9fa;
    color: #364153;
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 100px;
  }

  .price-badge-item img {
    width: 12px;
  }

  .filter-mobile-footer {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .btn-filter-submit {
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
  }

  .reset-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
  }
}

/* Hide hints on small mobile devices to avoid overlap */
@media (max-width: 991px) {
  .hints-container {
    display: none;
  }
}

@media (max-width: 480px) {
  .img-banner {
    object-position: -220px;
  }
}

/* Car List Page Styles */
.car-list-page {
  padding: 20px 0;
  margin-top: 80px;
  /* Offset for fixed navbar */
}

.car-list-header {
  margin-bottom: 30px;
}

.car-list-header .breadcrumb-style {
  font-size: 15px;
  color: var(--black-text);
  margin-bottom: 10px;
}

.car-list-header .breadcrumb-style a {
  color: var(--dark-text);
  text-decoration: none;
  display: inline-block;
}

.car-list-header .breadcrumb-style span {
  color: var(--primary-color);
}

.car-list-header .page-title-section {}

.car-list-header .page-title-section h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-text);
  margin: 0 0 10px;
}

.car-list-header .results-count {
  display: flex;
  align-items: center;
  gap: 15px;
}

.car-list-header .btn-filter {
  width: 38px;
  background-color: transparent;
  border: 2px solid var(--border-color);
  border-radius: 11px;
  height: 38px;
  display: none;
  /* Hidden by default (on Desktop) */
  align-items: center;
  justify-content: center;
}

.offcanvas-lg {
  background-color: var(--light-bg);
}

.offcanvas-lg .offcanvas-title {
  color: var(--dark-text);
}

@media (max-width: 991px) {
  .car-list-header .btn-filter {
    display: flex;
  }

  .car-list-header .results-count {
    justify-content: space-between;
    width: 100%;
  }
}

.car-list-header .results-count button img {
  width: 20px;
}

.car-list-header .results-count span {
  color: #999999;
  font-size: 16px;
  font-weight: 500;
}

/* Sidebar Styles */
.filter-sidebar {
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 20px 14px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
  width: 100%;
}

.filter-sidebar .filter-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 20px;
  font-size: 16px;
  justify-content: center;
}

.filter-sidebar .filter-header i {
  color: var(--primary-color);
}

.filter-sidebar .filter-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
}

.filter-sidebar .results-num {
  color: var(--dark-text);
  font-size: 14px;
}

.filter-sidebar .reset-btn {
  color: var(--primary-color);
  text-decoration: none;
}

.filter-section {
  margin-bottom: 15px;
}

.filter-section .filter-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--light-bg);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark-text);
}

.filter-section .filter-accordion-header.collapsed {}

.filter-section .filter-accordion-header:hover {
  border-color: var(--primary-color);
  background: var(--light-bg);
}

.filter-section .filter-accordion-header .arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  color: #94A3B8;
}

.filter-section .filter-accordion-header:not(.collapsed) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--light-bg);
  border-bottom-color: transparent;
  border: 1px solid var(--border-color);
}

.filter-section .filter-accordion-header:not(.collapsed) .arrow {
  transform: rotate(180deg);
}

.filter-section .filter-accordion-body {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  max-height: 300px;
  overflow-y: auto;
  padding: 10px 5px;
}

.filter-select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--light-bg);
  color: #64748B;
  font-size: 14px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center;
}

.custom-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--dark-text);
  padding: 5px 15px;
  border-bottom: 1px solid var(--light-bg);
}

.custom-check:last-child {
  border: none
}

.custom-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background-color: var(--light-bg);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all 0.2s ease;
}

.custom-check input::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0) rotate(10deg);
  transition: 120ms transform ease-in-out;
  background-color: var(--light-bg);
  /* Using a thin checkmark SVG path */
  clip-path: polygon(14% 44%, 0 58%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.custom-check input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.custom-check input:checked::before {
  transform: scale(1) rotate(10deg);
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.year-item {
  padding: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 13px;
  color: var(--dark-text);
  cursor: pointer;
  transition: 0.3s;
}

.year-item.active {
  background-color: var(--primary-color);
  color: var(--light-bg);
  border-color: var(--primary-color);
}

.btn-filter-submit {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--light-bg);
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 10px;
  transition: 0.3s;
}

/* Car Card V2 */
.car-card {
  display: block;
  background: var(--light-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.car-card .car-img-wrapper {
  position: relative;
  height: 218px;
  overflow: hidden;
}

.car-card .car-img-wrapper img {
  width: calc(100% + 30px);
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-in-out;
}

.car-card .car-img-wrapper img.stop-animation {
  transition: none;
  width: 100%;
}

.car-card:hover .car-img-wrapper img.stop-animation {
  transform: none
}

.car-card:hover .car-img-wrapper img {
  transform: translateX(25px);
}

.car-card .card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(26, 192, 198, 0.9);
  color: var(--light-bg);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.car-card .car-info-body {
  padding: 15px 15px 20px;
}

.car-card .car-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.car-card .car-specs-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.car-card .car-specs-grid .spec-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.car-card .car-specs-grid .spec-item img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

.car-card .car-specs-grid .spec-item span {
  font-size: 12px;
  color: var(--text-gray);
}

.car-card .car-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #F1F5F9;
}

.car-card .card-price {
  font-weight: 800;
  color: #031516;
  font-size: 20px;
}

.card-price img {}

.card-price span img {
  display: inline-block !important;
  width: 12px !important;
}

.car-card .btn-card-more {
  background-color: var(--primary-color);
  color: var(--light-bg);
  border-radius: 5px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  min-width: 120px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(26, 192, 198, 0.2);
}

.car-card .btn-card-more:hover {
  background-color: #147e85;
  color: var(--light-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(26, 192, 198, 0.3);
}

.cards-list-selected .car-card {
  display: flex;
  margin-bottom: 0;
  align-items: center;
}

.cards-list-selected .car-card .car-specs-grid {
  padding-bottom: 15px;
  margin-bottom: 8px;
  border-bottom: 1px solid #F2F2F2
}

.cards-list-selected .car-card .car-info-body {
  padding: 10px 10px 10px;
  min-width: 220px;
  width: calc(100% - 320px);
}

.cards-list-selected .car-card .car-card-footer {
  padding-top: 5px;
  border: none;
}

.cards-list-selected .car-card .btn-card-more {
  border-radius: 5px;
  padding: 8px 4px;
  font-size: 12px;
  min-width: 70px;
}

.cards-list-selected .car-card .car-img-wrapper {
  height: 130px;
  border-radius: 20px;
  width: 230px;
  overflow: hidden;
  margin: 16px;
}

.cards-list-selected .car-card .car-img-wrapper img {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  max-width: 280px;
  max-height: 280px;
  width: 100%;
  height: 100%;
}

.cards-list-selected .car-card .card-price {
  font-size: 23px
}

.cards-list-selected .card-price span img {
  display: inline-block !important;
  width: 26px !important;
}

.cards-list-selected .car-color {
  align-items: center;
  gap: 5px;
  display: flex;
}
.cards-list-selected .car-color .value{
  border: 2px solid #E5E7EB;
  border-radius: 50%;
  width: 18px;
  height: 18px;
}
.cards-list-selected .car-card .car-specs-grid .spec-item span {
  font-size: 16px;
}

.load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--light-theme);
  color: var(--primary-color);
  padding: 12px 40px;
  border-radius: 15px;
  font-weight: 700;
  margin: 20px auto;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  min-width: 260px;
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: var(--light-bg);
  transform: translateY(-2px);
}

.load-more-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.load-more-btn .fa-spinner {
  animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Price Range Slider - Scoped to Car List */
.range-container-car-list.range-container {
  background: var(--light-bg);
  padding: 10px;
  border-radius: 15px;
  margin-bottom: 20px;
  height: max-content;
  display: block;
  border: none
}

.range-container-car-list .range-label {
  display: block;
  font-size: 16px;
  color: var(--dark-text);
  margin-bottom: 0px;
}

.range-container-car-list .range-sub-labels {
  font-size: 11px;
  color: var(--dark-text);
  font-weight: 500;
}

.range-container-car-list .range-values {
  display: flex;
  justify-content: space-between;
  margin-top: 0px;
  font-size: 14px;
  color: var(--black-text);
  padding-inline: 50px;
}

/* noUiSlider Customization */
.range-container-car-list .noUi-target {
  background: #EBF8F9;
  border: none;
  box-shadow: none;
  height: 6px;
  border-radius: 10px;
}

.range-container-car-list .noUi-connect {
  background: var(--primary-color);
}

.range-container-car-list .noUi-handle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid var(--light-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  right: -9px;
  /* Half of width */
  top: -6px;
}

.range-container-car-list .noUi-handle::before,
.range-container-car-list .noUi-handle::after {
  display: none;
}

.range-container-car-list .price-range-container {
  width: calc(100% - 130px);
}

.title-section {
  padding: 20px 0;
}

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

.title-section h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 0;
}

.title-section a {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

@media (max-width: 991px) {
  .hide-in-mobile {
    display: none !important;
  }

  .filter-items {
    display: flex;
    flex-direction: column;
  }

  .filter-items .range-container-car-list {
    order: 2;
    margin-top: 0;
  }

  .range-container-car-list .range-label {
    font-size: 15px;
    text-align: center;
    font-weight: 400;
    color: var(--dark-text);
  }

  .car-list-page {
    margin-top: 60px;
  }

  .car-list-header .page-title-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .offcanvas-lg.filter-sidebar-offcanvas:not(.show) {
    display: none;
  }
}

@media (min-width: 992px) {
  .price-badge-item img {
    display: none;
  }

  .range-values .range-label {
    display: none;
  }

  .show-in-mobile {
    display: none !important;
  }

  .offcanvas-lg.filter-sidebar-offcanvas {
    display: block !important;
    transform: none !important;
    visibility: visible !important;
    position: static !important;
    z-index: auto !important;
  }

  .filter-sidebar-offcanvas .offcanvas-body {
    padding: 0 !important;
    overflow-y: visible !important;
  }
}

.search-wrapper {
  margin: -45px auto 0 !important;
}

/* Cards Carousel Dots */
.cards-home-page.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.cards-home-page.owl-carousel .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  background: var(--border-color) !important;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: none !important;
  padding: 0 !important;
}

.cards-home-page.owl-carousel .owl-dots .owl-dot.active {
  background: var(--primary-color) !important;
  width: 30px;
  border-radius: 10px;
}

@media (min-width: 1200px) {
  .cards-home-page.owl-carousel .owl-dots {
    display: none;
  }
}

/* Car Details Page Styles */
.section-padding-top {
  padding-top: 120px;
}

.back-link-details {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.details-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 5px;
}

.details-subtitle {
  font-size: 15px;
  color: var(--dark-text);
}

.btn-share-details {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--light-bg);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.btn-share-details:hover {
  background: var(--primary-color);
  color: var(--light-bg);
}

.details-quick-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-item {
  background: var(--primary-color);
  color: var(--light-bg);
  padding: 8px 15px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag-item img {
  filter: brightness(0) invert(1);
  width: 18px;
}

/* Gallery */
.main-gallery-slider {
  border-radius: 25px;
  overflow: hidden;
}

.zoom-box {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  border-radius: 25px;
  height: 480px;
  border: 2px solid var(--border-color);
}

.zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease-out;
}

.gallery-thumbs .thumb-item {
  width: calc(14.28% - 8px);
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
  position: relative;
}

.gallery-thumbs .thumb-item.active {
  border-color: var(--primary-color);
}

.gallery-thumbs .thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs .thumb-item.has-overlay .thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.section-title-details {
  font-size: 20px;
  font-weight: 800;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.overview-text {
  color: var(--dark-text);
  line-height: 1.8;
}

/* Tech Specs */
.spec-card-details {
  background: var(--light-theme);
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid var(--light-theme);
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spec-card-details:hover {
  background: var(--light-theme);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
}

.spec-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  min-width: 80px;
  text-align: center;
}

.spec-icon img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  object-fit: contain;
}

.spec-info {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 15px;
  color: var(--dark-text);
  white-space: nowrap;
}

.spec-value {
  font-size: 15px;
  color: var(--dark-text);
}

.accordion-button::after {
  color: var(--dark-text);
}

/* Accordion */
.details-accordion .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 20px !important;
  overflow: hidden;
  margin-bottom: 20px;
}

.details-accordion .accordion-button {
  padding: 20px 25px;
  font-weight: 800;
  font-size: 16px;
  color: var(--dark-text);
  background: var(--bg-gray);
  box-shadow: none !important;
}

.details-accordion .accordion-body {
  background: var(--bg-gray);
  padding-inline: 35px;
}

.feature-group-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark-text);
}

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

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--dark-text);
}

.feature-list li i {
  color: var(--light-theme);
  font-size: 16px;
  background: radial-gradient(circle at center, var(--primary-color) 45%, transparent 55%);
}

.feature-list.two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Sidebar */
.price-sidebar-card {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.03);
}

.price-sidebar-card .price-header {
  margin-bottom: 5px;
}

.price-label-sidebar {
  font-size: 14px;
  color: var(--black-text);
  font-weight: 500;
  margin-bottom: 0px;
}

.price-value-sidebar {
  font-size: 36px;
  font-weight: 900;
  color: var(--black-text);
}

.price-value-sidebar .currency.large-img img {
  width: 24px;
}

.color-item {
  cursor: pointer;
}

.color-item .color-opt {
  width: 70px;
  height: 35px;
  border-radius: 20px;
  transition: 0.3s;
  position: relative;
  margin: 0 auto;
  border: 2px solid var(--border-color);
}

.color-item.active .color-opt::after {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-color);
  font-size: 18px;
}

.color-item[data-color="#ffffff"].active .color-opt::after {
  color: var(--primary-color);
}

.color-name {
  font-size: 14px;
  color: var(--black-text);
}

.video-thumb-wrapper {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px;
}

.play-btn-details {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: 0.3s;
  box-shadow: 0 0 0 10px rgba(26, 192, 198, 0.2);
}

.video-thumb-wrapper:hover .play-btn-details {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 20px rgba(26, 192, 198, 0.2);
}

/* Details Gallery Carousel Styles */
.full-gallery-slider.owl-carousel,
.details-gallery .owl-carousel {
  position: relative;
}

.full-gallery-slider.owl-carousel .owl-nav,
.details-gallery .owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  margin-top: 0;
}

.full-gallery-slider.owl-carousel .owl-nav button.owl-next,
.full-gallery-slider.owl-carousel .owl-nav button.owl-prev,
.details-gallery .owl-carousel .owl-nav button.owl-next,
.details-gallery .owl-carousel .owl-nav button.owl-prev {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  border: 1px solid #fff !important;
  background-color: rgb(234 234 234 / 40%) !important;
  backdrop-filter: blur(4px);
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: 0.3s;
  margin: 0 !important;
}

.full-gallery-slider.owl-carousel .owl-nav button i,
.details-gallery .owl-carousel .owl-nav button i {
  color: var(--black-text);
  font-size: 14px;
}

.full-gallery-slider.owl-carousel .owl-nav button.owl-next:hover,
.full-gallery-slider.owl-carousel .owl-nav button.owl-prev:hover,
.details-gallery .owl-carousel .owl-nav button.owl-next:hover,
.details-gallery .owl-carousel .owl-nav button.owl-prev:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}


.full-gallery-slider.owl-carousel .owl-dots,
.details-gallery .owl-carousel .owl-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 0 !important;
}

.full-gallery-slider.owl-carousel .owl-dots button.owl-dot,
.details-gallery .owl-carousel .owl-dots button.owl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5) !important;
  border: none !important;
  padding: 0 !important;
  transition: 0.3s;
}

.full-gallery-slider.owl-carousel .owl-dots button.owl-dot.active,
.details-gallery .owl-carousel .owl-dots button.owl-dot.active {
  background-color: #fff !important;
  width: 24px;
  border-radius: 10px;
}

.details-gallery {
  margin-bottom: 48px;
}

.full-gallery-slider .item {
  position: relative;
  height: calc(100vh - 200px);
  min-height: 400px;
  overflow: hidden;
}

.full-gallery-slider .item img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 9999999;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-counter {
  font-size: 18px;
  letter-spacing: 2px;
  text-align: center;
  font-weight: 600;
  color: #fff;
  margin-top: -40px;
  z-index: 9;
  position: relative;
}

/* Share Dropdown Menu */
.share-dropdown-menu {
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  overflow: visible !important;
  margin-top: 0px !important;
}

.share-dropdown-menu .dropdown-item {
  transition: 0.3s;
  font-size: 14px;
  padding: 8px 15px;
}

.share-dropdown-menu .dropdown-item {
  color: var(--dark-text);
}

.share-dropdown-menu .dropdown-item i {
  font-size: 16px;
}

.share-dropdown-menu .dropdown-item:hover {
  background-color: var(--light-bg);
}

.share-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: var(--light-bg);
  transform: rotate(45deg);
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
  z-index: 0;
}

.modal-backdrop.show {
  opacity: 0.8;
}

/* ===== Gallery Modal - Fullscreen with Thumbnails ===== */
.gallery-modal-content {
  background: #1a1a1a !important;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.gallery-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px !important;
  flex-shrink: 0;
  background: #111;
}

.gallery-counter-modal {
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  text-align: center;
}

.gallery-modal-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Main Image Area */
.gallery-modal-main-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  padding: 10px 70px;
}

.gallery-modal-main-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-modal-main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.25s ease;
}

/* Nav Arrows */
.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.gallery-modal-nav:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-50%) scale(1.08);
}

.gallery-modal-prev {
  left: 16px;
}

.gallery-modal-next {
  right: 16px;
}

/* Thumbnails Strip */
.gallery-modal-thumbs-wrapper {
  flex-shrink: 0;
  background: #111;
  padding: 12px 16px 16px;
  overflow: hidden;
}

.gallery-modal-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  justify-content: center;
  flex-wrap: nowrap;
}

/* Hide scrollbar but keep functionality */
.gallery-modal-thumbs::-webkit-scrollbar {
  height: 4px;
}
.gallery-modal-thumbs::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
}
.gallery-modal-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.gallery-modal-thumb-item {
  flex-shrink: 0;
  width: 110px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: all 0.2s ease;
  opacity: 0.55;
}

.gallery-modal-thumb-item:hover {
  opacity: 0.85;
  border-color: rgba(255,255,255,0.3);
}

.gallery-modal-thumb-item.active {
  border-color: var(--primary-color, #1ac0c6);
  opacity: 1;
  box-shadow: 0 0 0 1px var(--primary-color, #1ac0c6);
}

.gallery-modal-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive adjustments for gallery modal */
@media (max-width: 768px) {
  .gallery-modal-main-image-wrapper {
    padding: 10px 50px;
  }
  .gallery-modal-nav {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .gallery-modal-prev {
    left: 8px;
  }
  .gallery-modal-next {
    right: 8px;
  }
  .gallery-modal-thumb-item {
    width: 65px;
    height: 48px;
  }
  .gallery-modal-thumbs-wrapper {
    padding: 8px 10px 12px;
  }
}

/* Search Box Container */
.search-wrapper {
  position: relative;
  z-index: 10;
  padding-bottom: 80px;
  max-width: 80%;
  margin: -20px auto 0;
}

.search-box {
  background: var(--light-bg);
  border-radius: 35px;
  padding: 40px 50px;
  box-shadow: var(--shadow-main);
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.search-title {
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 12px;
}

.thumb-active-eye {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
  z-index: 2;
}

.gallery-thumbs .thumb-item.active .thumb-active-eye {
  opacity: 1;
}

.gallery-thumbs .thumb-item.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.search-title i {
  color: var(--primary-color);
  background: rgba(26, 192, 198, 0.1);
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.reset-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.reset-link:hover {
  color: var(--secondary-color);
}

/* Form Styles */
.custom-select-group {
  position: relative;
}

.form-select {
  border-radius: 15px;
  font-weight: 600;
  color: #555;
  background-color: transparent !important;
  transition: 0.3s;
  padding: 0;
  --bs-form-select-bg-img: none
}

.bootstrap-select .dropdown-toggle:focus {
  outline: unset;
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(26, 192, 198, 0.05);
  background-color: #fff;
}

.form-select .dropdown-toggle {
  height: 48px;
  border-radius: 16px;
  background: transparent;
  color: var(--black-text) !important;
  border-color: var(--border-color) !important;
}

.form-select .dropdown-toggle .filter-option {
  text-align: right;
  display: flex;
  align-items: center;
}

.bs-actionsbox .btn-group-sm {
  width: 100%;
}

.bs-select-all {
  background: var(--primary-color);
  color: #fff;
}

.bs-select-all:hover {
  background: var(--primary-color);
  color: #fff;
}

.bs-searchbox+.bs-actionsbox {
  margin-top: 5px;
}

.bootstrap-select .inner.show .dropdown-menu.inner li a span.text::before {
  content: "\f0c8";
  font-weight: 400;
  font-family: "Font Awesome 5 Free";
  width: 21px;
  display: inline-block;
  top: 4px;
  font-size: 20px;
  position: relative;
}

.bootstrap-select .inner.show .dropdown-menu.inner li a.selected span.text::before {
  font-weight: 900;
  content: "\f14a";
  color: var(--primary-color);
}

.bootstrap-select .inner.show .dropdown-menu.inner li a span.text {
  margin-right: 0 !important;
}

.bootstrap-select .inner.show .dropdown-menu.inner li a {
  display: block;
  width: 100%;
  font-size: 14px;
  color: #000;
}

.bootstrap-select .dropdown-menu li a span.check-mark {
  display: none !important;
}

.range-container {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 10px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 55px;
  position: relative;
}

.range-label {
  font-weight: 700;
  color: var(--text-gray);
  min-width: 50px;
}

.range-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.range-values {
  display: flex;
  gap: 10px;
}

.price-badge {
  background: #43BFC71A;
  padding: 5px 12px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 85px;
  justify-content: center;
}

.search-submit-btn {
  width: 100%;
  height: 55px;
  border-radius: 15px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: 0.3s;
}

.search-submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(26, 192, 198, 0.2);
}

/* Car Dots (Slider Pagination) */
.car-pagination {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  width: 30px;
  border-radius: 10px;
  background: var(--primary-color);
}

/* Functional styling;
 * These styles are required for noUiSlider to function.
 * You don't need to change these rules to apply your design.
 */
.noUi-target,
.noUi-target * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-touch-action: none;
  touch-action: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.noUi-target {
  position: relative;
  direction: ltr;
}

.noUi-base {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  /* Fix 401 */
}

.noUi-origin {
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
}

.noUi-handle {
  position: relative;
  z-index: 1;
}

.noUi-stacking .noUi-handle {
  /* This class is applied to the lower origin when
 its values is > 50%. */
  z-index: 10;
}

.noUi-state-tap .noUi-origin {
  -webkit-transition: left 0.3s, top .3s;
  -o-transition: left 0.3s, top .3s;
  transition: left 0.3s, top .3s;
}

.noUi-state-drag * {
  cursor: inherit !important;
}

/* Painting and performance;
 * Browsers can paint handles in their own layer.
 */
.noUi-base,
.noUi-handle {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* Slider size and handle placement;
 */
.noUi-horizontal {
  height: 4px;
  min-width: 45%;
}

.noUi-horizontal .noUi-handle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  left: -13px;
  top: -5px;
  background-color: #1DB8C3;
  border: 3px solid #1DB8C3;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

.noUi-horizontal .noUi-handle.noUi-handle-lower {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  left: -2px;
  top: -5px;
  background-color: #1DB8C3;
  border: 3px solid #1DB8C3;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

.noUi-horizontal .noUi-handle.noUi-handle-upper {
  left: -12px;
}

/* Styling;
 */
.noUi-background {
  background: #dbf4f5;
}

.noUi-connect {
  background: #4AC7CF;
  -webkit-transition: background 450ms;
  -o-transition: background 450ms;
  transition: background 450ms;
}

.noUi-origin {
  border-radius: 2px;
}

.noUi-target {
  border-radius: 2px;
}

/* .noUi-target.noUi-connect Ã¢â‚¬â€ no overrides needed */

/* Handles and cursors;
 */
.noUi-draggable {
  cursor: w-resize;
}

.noUi-vertical .noUi-draggable {
  cursor: n-resize;
}

.noUi-handle {
  cursor: default;
  -webkit-box-sizing: content-box !important;
  box-sizing: content-box !important;
}

/* .noUi-handle:active Ã¢â‚¬â€ no overrides needed */

/* Disabled state;
 */
[disabled].noUi-connect,
[disabled] .noUi-connect {
  background: #B8B8B8;
}

[disabled].noUi-origin,
[disabled] .noUi-handle {
  cursor: not-allowed;
}

.search-wrapper-container {
  background: #F3F8FFA8;
}

.brands-section {
  background: #F3F8FFA8;
}

.title-section h2 {
  color: var(--black-text);
  font-weight: 700;
  font-size: 30px;
}

.title-section span {
  color: var(--text-gray);
  font-weight: 400;
  font-size: 16px;
}

.brand-container {
  border: 1px solid #E5E7EB;
  box-shadow: 0px 2px 12px 0px #8D9BB24D;
  padding: 10px;
  width: 70px;
  height: 70px;
  border-radius: 15px;
  position: relative;
  margin-bottom: 10px;
}

img.brand-img {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  width: max-content !important;
  max-width: 55px;
  max-height: 55px;
}

.brands-container span {
  color: var(--text-light);
}

.brand-slider {
  padding: 50px 0;
}

.brand-slider .item a {
  color: var(--text-light);
  text-decoration: none;
}

.owl-nav {
  text-align: center;
  gap: 20px;
  display: flex;
  justify-content: center;
  padding: 50px 0 0;
}

.brands-container {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  background: #FFFFFF !important;
  color: var(--primary-color) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 16px !important;
  padding: 13px 20px !important;
  font-size: 24px !important;
  display: flex;
}

.mobile-filters,
.mobile-filter-sheet {
  display: none;
}

/* Mobile Filter Search */
.mobile-filter-search-wrapper {
  position: sticky;
  top: 0;
  padding: 10px;
  z-index: 5;
  margin-bottom: 10px;
}

.mobile-filter-search-container {
  position: relative;
  width: 100%;
}

.mobile-filter-search-input {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 0 15px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: var(--light-bg);
  color: var(--dark-text);
}

.mobile-filter-search-input:focus {
  border-color: var(--primary-color);
  outline: none;
  background-color: var(--light-bg);
  box-shadow: 0 0 0 4px rgba(26, 192, 198, 0.05);
}

.mobile-filter-search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  pointer-events: none;
}

[dir="ltr"] .mobile-filter-search-icon {
  left: 18px;
}

[dir="rtl"] .mobile-filter-search-icon {
  left: 18px;
}

[dir="ltr"] .mobile-filter-search-input {
  padding-left: 45px;
  padding-right: 15px;
}

[dir="rtl"] .mobile-filter-search-input {
  padding-right: 15px;
  padding-left: 45px;
}

.mobile-filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Sidebar Filter Search */
.filter-search-wrap {
  padding: 0 10px 10px;
}

.filter-search-container {
  position: relative;
}

.filter-search-input {
  width: 100%;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 0 35px;
  font-size: 13px;
  background-color: var(--light-bg);
}

.filter-search-input:focus {
  border-color: var(--primary-color);
  outline: none;
  background-color: var(--light-bg);
}

.filter-search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dark-gray);
  font-size: 14px;
}

[dir="ltr"] .filter-search-icon {
  left: 12px;
}

[dir="rtl"] .filter-search-icon {
  right: 12px;
}

[dir="ltr"] .filter-search-input {
  padding-left: 35px;
  padding-right: 10px;
}

[dir="rtl"] .filter-search-input {
  padding-right: 35px;
  padding-left: 10px;
}

/* =============================================
   Testimonials Section
   ============================================= */
.testimonials-section {
  padding: 80px 0 60px;
  background: var(--light-bg);
}

.testimonials-section .title-section {
  margin-bottom: 40px;
}

.testimonials-slider {
  padding-bottom: 10px;
}

.testimonial-card {
  background: #E9FAFC;
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0px 2px 16px 0px rgba(141, 155, 178, 0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0px 6px 28px 0px rgba(67, 191, 199, 0.15);
  transform: translateY(-3px);
}

.testimonial-quote {
  color: var(--primary-color);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black-text);
  margin: 0;
  word-break: normal;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
  color: var(--black-text);
  word-break: normal;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 25px 0;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: start;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--black-text);
}

.testimonial-role {
  font-size: 12px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-avatar span {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #fff;
  font-size: 24px;
}

/* Testimonials owl nav override */
.testimonials-slider .owl-nav {
  margin-top: 10px;
}

/* =============================================
   Trusted Partners Section
   ============================================= */
.partners-section {
  padding: 70px 0 80px;
  background: #F3F8FFA8;
}

.partners-section .title-section {
  margin-bottom: 30px;
}

/* Filter Buttons */
.partners-filter-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.partners-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 14px;
  border: 1.5px solid #E0E7EF;
  background: #fff;
  color: var(--text-gray);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main-medium);
}

.partners-btn:hover {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.partners-btn.active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

.partners-btn.active .partners-btn-badge {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.partners-btn-badge {
  background: rgba(67, 191, 199, 0.12);
  color: var(--primary-color);
  font-size: 12px;
  min-width: 22px;
  height: 22px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
}

/* Partners Logo Slider */
.partners-logos-slider .owl-stage-outer {
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 15px 30px;
}

.partner-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}


/* Partners owl dots */
.partners-logos-slider .owl-dots {
  text-align: center;
  bottom: -40px !important;
}




/* =============================================
   Start Trip Section
   ============================================= */
.start-trip-section {
  position: relative;
  background-image: url('/assets/img/start-trip.svg');
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.start-trip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.52) 55%,
      rgba(0, 0, 0, 0.30) 100%);
  z-index: 1;
}

.start-trip-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.start-trip-title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.start-trip-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px;
}

.start-trip-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 16px;
  background: var(--primary-color);
  color: #fff;
  font-size: 18px;
  font-family: var(--font-main-medium);
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.start-trip-btn:hover {
  background: #179aa3;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 192, 198, 0.45);
}

.start-trip-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.start-trip-btn:hover i {
  transform: translateX(-4px);
}

/* =============================================
   Newsletter Section
   ============================================= */
.newsletter-section {
  background: var(--primary-color);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* Decorative background circles */
.newsletter-bg-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.newsletter-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-circle-1 {
  width: 350px;
  height: 350px;
  bottom: -100px;
  right: -80px;
}

.newsletter-circle-2 {
  width: 200px;
  height: 200px;
  top: -60px;
  left: 20%;
}

/* Inner two-column layout */
.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* Illustration (left side in RTL) */
.newsletter-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 380px;
  /* Slightly wider to allow spread */
}

.newsletter-illustration>img {
  max-width: 260px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  position: relative;
  z-index: 2;
  margin-right: 40px;
  /* Center it better relative to text */
}

/* Floating icons container */
.newsletter-float-icons {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.nl-icon {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  animation: nlFloat 4s ease-in-out infinite;
}

.nl-icon img {
  width: 100%;
  height: auto;
}

/* Percentage icon on the right */
.nl-icon-pct {
  width: 55px;
  top: -6%;
  left: 15%;
  animation-delay: 0s;
}

/* Sale tag on the left */
.nl-icon-sale {
  width: 100px;
  top: 10%;
  right: 17%;
  animation-delay: 0.7s;
}

/* Percentage icon on the top-left */
.nl-icon-pct2 {
  width: 70px;
  top: -12%;
  right: 30%;
  animation-delay: 1.5s;
}

@keyframes nlFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Content (right side in RTL) */
.newsletter-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  text-align: start;
}

.newsletter-title {
  font-size: 43px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 30px;
}

.social-media-button {
  padding: 0;
}

/* Input group: button on the left, input on the right (RTL) */
.newsletter-input-group {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: 655px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 8px;
}

.newsletter-email-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 15px;
  background: transparent;
  text-align: right;
  color: #333;
  min-width: 0;
  height: 54px;
  direction: rtl;
}

.newsletter-email-input::placeholder {
  color: #aaa;
}

.newsletter-submit-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0 47px;
  height: 58px;
  font-size: 20px;
  white-space: nowrap;
  transition: background 0.3s ease;
  border-radius: 14px;
  font-family: var(--font-main-medium);
}


.newsletter-submit-btn:hover {
  background: #179aa3;
}

.newsletter-form {
  width: 100%;
}

.jq-toast-single h2 {
  font-family: var(--font-main-medium);
}

.accordion-item {
  background-color: unset;
}

/* ============================================
   FundRequest LandingPage Styles
   ============================================ */

/* Page wrapper */
.fund-landing-page {
  margin-top: 140px;
  padding-bottom: 60px;
}

/* ---- Why Arib Section ---- */
.fund-why-section {
  padding: 0 0 50px;
  position: relative;
  overflow: hidden;
}

.fund-why-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 100px;
  background: url('../img/landing-pag-bg.svg') no-repeat center center;
}

/* Background pattern image (landing-pag-bg.png) */

.fund-why-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.fund-why-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  font-family: var(--font-main-medium);
}

.fund-why-subtitle {
  font-size: 15px;
  margin-bottom: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature item Ã¢â‚¬â€ full height inside Bootstrap col */
.fund-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  height: 100%;
}


.fund-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}


.fund-feature-info {
  text-align: center;
}

.fund-feature-info h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-main-medium);
}

.fund-feature-info p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 80%;
  margin: auto;
}

/* ---- How It Works Section ---- */
.fund-how-section {
  padding: 50px 0 40px;
}

.fund-section-title {
  text-align: center;
  font-size: 30px;
  color: var(--dark-text);
  margin-bottom: 10px;
  font-family: var(--font-main-bold);
}

.fund-section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #1A1A1A;
  margin-bottom: 40px;
}

/* Step card full height inside Bootstrap col */
.fund-step-card {
  background: #f9fafb;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px 24px 32px;
  text-align: center;
  position: relative;
  height: 100%;
  transition: all 0.35s ease;
  overflow: hidden;
}

.fund-step-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 16px 48px rgba(26, 192, 198, 0.12);
  transform: translateY(-6px);
}



/* Step number badge Ã¢â‚¬â€ RTL: top-right corner */


.fund-step-icon-wrap {
  margin-bottom: 20px;
}

.fund-step-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background 0.3s;
}

.fund-step-card:hover .fund-step-icon {
  background: rgba(26, 192, 198, 0.15);
}

.fund-step-icon img {
  width: 100%;
}

.fund-step-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 12px;
  font-family: var(--font-main-medium);
}

.fund-step-card p {
  font-size: 16px;
  color: #1A1A1A;
  line-height: 1.7;
  max-width: 80%;
  margin: auto;
}

/* CTA Button */
.fund-cta-wrap {
  display: flex;
  justify-content: center;
}

.fund-cta-btn {
  width: 80%;
  max-width: 600px;
  height: 76px;
  font-size: 16px;
  border-radius: 16px;
  gap: 10px;
  box-shadow: 0px 4px 6px -4px #0000001A;
  margin: auto;
  font-weight: 400;
  display: flex;
  align-items: center;
}

.fund-cta-btn:hover {
  transform: translateY(-3px);
}

.fund-cta-btn img {
  width: 25px;
}


/* ============================================
   Animation Car Ã¢â‚¬â€ LandingPage2
   ============================================ */

/* Prevent horizontal scrollbar caused by the off-screen car */

.animation-car {
  position: relative;
  width: 100%;
  pointer-events: none;
}

.animation-car img {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 90px;
  width: auto;
  transform: translateX(-120vw);
  animation: car-drive 10s linear infinite;
  will-change: transform;
}

/*
  10s cycle:
  0%  Ã¢â€ â€™ 60%   (6s)  car travels left-to-right fully across + off screen
  60% Ã¢â€ â€™ 100%  (4s)  hidden off-screen right, reset position happens invisibly
*/
@keyframes car-drive {
  0% {
    transform: translateX(-120vw);
    opacity: 1;
  }

  60% {
    transform: translateX(120vw);
    opacity: 1;
  }

  60.01% {
    transform: translateX(-120vw);
    opacity: 0;
  }

  99.99% {
    transform: translateX(-120vw);
    opacity: 0;
  }

  100% {
    transform: translateX(-120vw);
    opacity: 1;
  }
}

.bs-actionsbox {
  display: none;
}

/* Preloader */
.handle-preloader {
  align-items: center;
  -webkit-align-items: center;
  display: flex;
  display: -ms-flexbox;
  height: 100%;
  justify-content: center;
  -webkit-justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 9999999;
  background-color: #ffffffe6;
}

.preloader-close {
  position: fixed;
  z-index: 99999999;
  font-size: 18px;
  background: #fff;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  right: 15px;
  top: 15px;
  border-radius: 50%;
}

.handle-preloader .animation-preloader {
  position: absolute;
  z-index: 100;
}

.handle-preloader .animation-preloader .fav {
  position: absolute;
  width: 65px;
  transform: translate(-50%, -50%);
  top: 74px;
  left: 50%;
  /*filter: brightness(0) invert(1);*/
}

.handle-preloader .animation-preloader .spinner {
  animation: spinner 1s infinite linear;
  border-radius: 50%;
  height: 150px;
  margin: 0 auto 40px auto;
  width: 150px;
}

.handle-preloader .animation-preloader .txt-loading {
  text-align: center;
  user-select: none;
  position: relative;
  left: 24px;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:before {
  animation: letters-loading 4s infinite;
  content: attr(data-text-preloader);
  left: 0;
  opacity: 0;
  top: 0;
  position: absolute;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading {
  font-weight: 500;
  letter-spacing: 15px;
  display: inline-block;
  position: relative;
  font-size: 70px;
  line-height: 70px;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #4AC7CF;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(2):before {
  animation-delay: 0.2s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(3):before {
  animation-delay: 0.4s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(4):before {
  animation-delay: 0.6s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(5):before {
  animation-delay: 0.8s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(6):before {
  animation-delay: 1s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(7):before {
  animation-delay: 1.2s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(8):before {
  animation-delay: 1.4s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(9):before {
  animation-delay: 1.6s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(10):before {
  animation-delay: 1.8s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(11):before {
  animation-delay: 2s;
}

.handle-preloader .loader-section {
  background-color: #ffffff;
  height: 100%;
  position: fixed;
  top: 0;
  width: calc(50% + 1px);
}

.preloader .loaded .animation-preloader {
  opacity: 0;
  transition: 0.3s ease-out;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading {}

.handle-preloader .animation-preloader .txt-loading .letters-loading:before {
  color: #4AC7CF;
}

.handle-preloader .animation-preloader .spinner {
  border: 3px solid #4AC7CF;
  border-top-color: rgba(255, 255, 255, 0.5);
}

.handle-preloader .animation-preloader .txt-loading {
  left: 5px;
  top: -147px;
  position: relative;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading {
  font-size: 55px;
  letter-spacing: 5px;
}

.bootstrap-select .inner {
  max-height: 350px !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: transparent !important;
}

/* Bootstrap Select Searchbox Custom Styling */
.bs-searchbox {
  position: relative;
  padding: 10px 15px !important;
}

.bs-searchbox .form-control {
  border-radius: 8px !important;
  font-size: 14px !important;
  height: 40px !important;
}

.bs-searchbox .search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
  z-index: 4;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

/* LTR Styles */
[dir="ltr"] .bs-searchbox .search-icon {
  left: 25px;
}

[dir="ltr"] .bs-searchbox .form-control {
  padding-left: 35px !important;
}

/* RTL Styles */
[dir="rtl"] .bs-searchbox .search-icon {
  right: 25px;
}

[dir="rtl"] .bs-searchbox .form-control {
  padding-right: 35px !important;
}

/* AnimaciÃƒÂ³n del preloader */
@keyframes spinner {
  to {
    transform: rotateZ(360deg);
  }
}

@keyframes letters-loading {

  0%,
  75%,
  100% {
    opacity: 0;
    transform: rotateY(-90deg);
  }

  25%,
  50% {
    opacity: 1;
    transform: rotateY(0deg);
  }
}

/* Error Page Styles */
.error-page-body {
  background-color: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

.error-container {
  text-align: center;
  max-width: 700px;
  width: 100%;
}

.error-img {
  margin-bottom: 30px;
}

.error-img img {
  max-width: 100%;
  height: auto;
}

.error-content {
  margin-bottom: 30px;
}

.error-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 15px;
  margin-top: 15px;
}

.error-subtitle {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 0;
}

.contact-box {
  background: #fdfdfd;
  border: 1px solid #f1f5f9;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 40px;
}

.contact-text {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 15px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--primary-color);
}

.contact-link i {
  color: var(--primary-color);
  font-size: 18px;
}

.btn-home {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 60px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(26, 192, 198, 0.3);
  transition: all 0.3s ease;
}

.btn-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(26, 192, 198, 0.4);
  color: white;
}

.not-found-cars {
  text-align: center;
  padding: 70px;
  min-height: 700px;
  background-color: #f9fafb;
  border: 1px solid #edeef0;
  border-radius: 15px;
}

.not-found-cars img {
  margin-bottom: 30px;
}

.not-found-cars h5 {
  margin-bottom: 30px;
  font-size: 16px;
}

.not-found-cars a {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 15px;
  min-width: 250px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(26, 192, 198, 0.3);
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .contact-links {
    gap: 15px;
    flex-direction: column;
    align-items: center;
  }
}

.fund-request-header.offers-header {
  display: flex;
  justify-content: flex-start;
}

/* Offers Page Styles */
.offers-page-wrapper{
   padding: 70px 0 1px;
}

.sticky-header-section {
    position: sticky;
    top: 70px;
    z-index: 50;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding-top: 15px;
}

.congrats-banner {
  position: relative;
  color: #1E293B;
  margin-bottom: 10px;
  background: rgb(77, 219, 229);
  padding: 15px 30px;
  border-radius: 20px;
}
.congrats-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/assets/img/fund-request/arrow-bg-header.svg);
  background-repeat: repeat;
  background-size: inherit;
  pointer-events: none;
  z-index: 1;
}
.congrats-banner-img {
  position: absolute;
  left: 45px;
  bottom: 0;
  z-index: 5;
}
.banner-icon .check-circle {

    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.banner-icon .check-circle img{
  width: 50px;
}
.info-alert-bar {
    background: #E6F7FF;
    border-radius: 10px;
    border: 1px solid #91D5FF;
    padding: 10px;
    margin :  auto;
    gap: 10px;
    display: flex;
    align-items: center;
}

.btn-outline-filter {
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: none;
}

.btn-outline-filter .dot {
    width: 15px;
    height: 15px;
    border: 1px solid #666666;
    border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
    background: transparent;
}

.btn-outline-filter .dot::after {
  content: "";
  width: 6px;
  height: 3px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) scale(0.8);
  transform-origin: center;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}


.btn-check:checked + .btn-outline-filter .dot {
    background: #1AA8B2;
    border-color: #1AA8B2;
    box-shadow: 0 0 0 4px rgba(26, 168, 178, 0.1);
}

.btn-check:checked + .btn-outline-filter .dot::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}
.sorting-filters {
  border: 1px solid #F2F2F2;
  border-radius: 10px;
  background: #f7f7f7;
}
.sorting-head-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.btn-mobile-sort {
  display: none;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #1e293b;
  border-radius: 12px;
  padding: 8px 14px;
  font-family: tajawal-medium;
  align-items: center;
  gap: 8px;
}
.btn-mobile-sort:hover {
  color: #1e293b;
  border-color: #bfc5cf;
}

.offers-sort-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 998;
}

.offers-sort-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 30px rgba(2, 8, 23, 0.18);
  padding: 10px 16px 18px;
  transform: translateY(105%);
  transition: transform 0.28s ease;
  z-index: 999;
  max-height: 85vh;
  overflow-y: auto;
}

.offers-sort-sheet-handle {
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: #d1d5db;
  margin: 2px auto 10px;
}

.offers-sort-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;

}
.offers-sort-sheet-header h3 {
  font-weight: 700;
  font-size: 20px;
}
.offers-sort-close-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  color: #1e293b;
}

.offers-sort-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offers-sort-options .btn-outline-filter {
  justify-content: flex-start;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 12px 42px 12px 38px;
  position: relative;
  color: #1e293b;
}

.offers-sort-options .btn-outline-filter .dot {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border-color: #94a3b8;
}

.offers-sort-options .btn-outline-filter .dot::after {
  display: none;
}

.offers-sort-options .check-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  color: #1aa8b2;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-size: 14px;
  line-height: 1;
}

.offers-sort-options .btn-check:checked + .btn-outline-filter {
  background: #e8fbfd;
  border-color: #1aa8b2;
}

.offers-sort-options .btn-check:checked + .btn-outline-filter .dot {
  background: #1aa8b2;
  border-color: #1aa8b2;
  box-shadow: none;
}

.offers-sort-options .btn-check:checked + .btn-outline-filter .check-icon {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.offers-sort-actions {
  margin-top: 14px;
}

.offers-sort-sheet.is-open {
  transform: translateY(0);
}

.offers-sort-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

body.offers-sort-open {
  overflow: hidden;
}
.btn-compare {
  border: 1px solid #C03C3C;
  color: #C03C3C;
  border-radius: 12px;
  padding: 10px 24px;
  transition: all 0.3s;
  width: 300px;
  font-family: tajawal-medium;
  box-shadow: 0px 4px 6px -4px #0000001A;
}

.btn-compare:hover {
    border-color: #C03C3C;
    color: #C03C3C;
}

.offer-card {
    background: #fff;
    border-radius: 20px;
    padding:15px 24px 25px;
    border: 1px solid #F1F5F9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    transition: all 0.3s ease;
}

.offer-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}



.compare-check {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #64748B;
}

.compare-check label {
    cursor: pointer;
}

.bank-logo {
    width: 50px;
    height: 50px;
    background: #E0F2F1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.bank-logo img {
    max-width: 100%;
    max-height: 100%;
}

.offer-type-title {
    font-size: 18px;
    font-weight: 700;
}
.golden-offer .offer-type-title {
  color:#B88D00 ;
}
.offer-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.stat-item {
  background: #F2F2F2;
  border-radius: 12px;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #E5E5E5;
}



.stat-label {
  font-size: 13px;
  color: #1A1A1A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #1E293B;
}
.stat-value img{
  width: 13px;
}
.stat-label i {
    font-size: 14px;
    color: #1AA8B2;
}
.stat-item .stat-item-container span {
  display: none;
}
.btn-teal-solid {
  background: #1AA8B2;
  color: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  transition: all 0.3s;
  font-family: 'tajawal-medium';
  width: 50%;
}

.btn-teal-solid:hover {
    background: #17969f;
    color: #fff;
}

.btn-outline-details {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    width: 50%;
}
.offers-page-container {
  background: #f8f8f8;
  padding: 1px 0;
}
.btn-load-more {
  background: #E9FAFC;
  color: #1DB8C3;
  border: none;
  font-family: tajawal-medium;
  margin: 30px auto;
}
.btn-load-more:hover {
  background: #E9FAFC;
  color: #1DB8C3;
}
.normal-offer-text {
    font-size: 16px;
    color: #475569;
}
.offer-header {
  margin-bottom: 15px;
}
.offer-header .bank-info i {
  color: #B88D00;
}
@media (max-width: 768px) {
    .offer-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.anim-spin-on-hover:hover {
    animation: fa-spin 2s infinite linear;
}



.select-offer {
    position: relative;
    overflow: hidden;
}

.select-offer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.select-offer:active::after {
    width: 300px;
    height: 300px;
}


.btn-outline-details:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    color: #475569;
}

.btn-teal-solid:active {
    transform: scale(0.98);
}



/* Selected for compare state */
.offer-card.selected-for-compare {
    border: 2px solid #1AA8B2 !important;
    background-color: #F0FBFC !important;
    box-shadow: 0 15px 45px rgba(26, 168, 178, 0.1);
}

.offer-card.selected-for-compare .compare-check {
    background: #fff;
}

.compare-checkbox:checked {
    background-color: #1AA8B2;
    border-color: #1AA8B2;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
   from { transform: rotate(0deg); }
   to { transform: rotate(360deg); }
}
@media (max-width: 991px) {
  .offers-page-wrapper {
    padding-top: 24px;
  }

  .sticky-header-section {
    top: 0;
    padding-top: 10px;
  }

  .sorting-head {
    display: none;
  }

  .sorting-filters {
    display: none !important;
  }

  .btn-mobile-sort {
    display: inline-flex;
    min-height: 46px;
    justify-content: center;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px;
    min-width: unset;
    width: 33.33%;
  }

  .compare-table thead tr {
    display: flex;
    width: 100%;
  }

  .compare-table thead th.criteria-col {
    display: none;
  }

  .compare-table thead th.offer-col {
    flex: 1;
    border: none;
    background: #fff;
  }
  .compare-stars-inline-wrapper {
    display: block;
  }
  .compare-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .compare-table tbody tr#compareTableRow_Actions {
    border-bottom: none;
  }

  .compare-table td.criteria-label {
    width: 100% !important;
    background: #4DD8E5 !important; /* Lighter teal from image */
    text-align: center !important;
    padding: 8px !important;
    font-size: 14px;
    font-weight: 700;
    border: none !important;
    position: static;
    order: -1;
  }
  .offer-actions .btn-teal-solid , .offer-actions .btn-outline-details{
    width: 50%;
  }

  .compare-table td:not(.criteria-label) {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: none;
    min-height: 80px;
  }

  .compare-table .value {
    font-size: 14px;
  }

  .best-badge {
    font-size: 9px;
  }

  .compare-bank-logo {
    width: 45px;
    height: 45px;
  }

  .compare-placeholder {
    font-size: 20px;
    color: #ddd;
  }
  .congrats-banner-img {
    left: 20px;
    width: 90px;
  }

  .stat-item .stat-label span {
    display: none;
  }
  .stat-item {
    padding: 5px;
    gap: 10px;
    justify-content: start;
  }
  .stat-item .stat-item-container span {
    display: block;
    font-size: 12px;
    text-align: center;
  }
  .btn-teal-solid {
    border-radius: 12px;
  }
}
@media (max-width: 768px) {
  .congrats-banner {
    padding: 16px;
    border-radius: 18px;
    overflow: hidden;
  }

  .congrats-banner .d-flex {
    align-items: center ;
  }

  .congrats-banner .banner-content {
    max-width: 100%;
  }

  .congrats-banner .banner-content h1 {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 18px;
    line-height: 1.6;
  }

  .congrats-banner-img img {
    width: 112px;
  }
  .congrats-banner .banner-content p {
    font-size: 13px;
  }
  .banner-icon .check-circle img {
    width: 42px;
  }
  .offer-type-title {
    font-size: 3vw;
  }
  .offer-header .bank-info i {
    color: #B88D00;
    font-size: 3vw;
  }
  .btn-compare {
    width: 100%;
  }
}
.faQ-body {
  border: 1px solid #ccc;
  padding: 10px;
  max-height: 60vh;
  overflow: auto;
  font-size: 12px;
}
.congrats-banner  .banner-content {
  max-width: 75%;
}
.congrats-banner  .banner-content h1 {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  font-size: 20px;
}
/* No Offers Design */
.no-offers-wrapper {
    max-width: 600px;
    margin: 100px auto;
}

.no-offers-icon-container .icon-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.no-offers-icon-container .icon-circle img {
  width: 170px;
  height: 170px;
    object-fit: contain;
}

.no-offers-title {
    color: #1E293B;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 40px !important;
}

.support-contact-card {
  background-color: #FBFBFB;
  border: 1px solid #E5E5E5;
  border-radius: 10px;
  padding: 20px;
  max-width: 420px;
  margin: 0 auto;
}

.support-text {
  color: #364153;
  font-size: 14px;
  text-align: start;
}

.contact-methods .contact-item a {
    color: #1E293B;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--font-family-medium);
}
.contact-methods .contact-item a span{
  color: #0D0D0D;
}

.contact-methods .contact-item a:hover {
    color: var(--primary-color) !important;
}

.text-teal {
    color: #1AA8B2 !important;
}

.max-width-button {
    max-width: 540px;
    margin: 0 auto;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 12px !important;
}

/* Confirmation Step Styles */
.confirmation-banner {
    background: #4DDBE5 url('/assets/img/fund-request/arrow-bg-header.svg') repeat;
    border-radius: 20px;
    padding: 30px 40px;
    color: #1E293B;
    position: relative;
    overflow: hidden;
}
.confirmation-banner .banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}
.confirmation-banner h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}
.confirmation-banner p {
    font-size: 16px;
    margin-bottom: 0;
    opacity: 0.9;
}
.confirmation-banner .banner-icon .icon-circle {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.confirmation-banner .banner-icon img {
    width: 32px;
}
.summary-sidebar {
    height: 100%;
}
.summary-card {
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 20px 0;
}
.summary-card .summary-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0px 15px 15px;
  border-bottom: 1px solid #E5E7EB;
}

.offer-summary-box {
  background: #fff;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  width: 90%;
  margin: 20px auto;
}
.offer-summary-box .bank-logo-sm img {
    height: 24px;
}
.offer-summary-box .stars i {
    color: #FFC107;
    font-size: 12px;
}
.offer-summary-box .offer-name {
    font-size: 15px;
    font-weight: 700;
}
.summary-details li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #E5E7EB;
}
.summary-details li:last-child {
    border-bottom: none;
}
.summary-details .label {
    color: #1F2937;
    font-size: 14px;
}
.summary-details .value {
    color: #1E293B;
    font-weight: 600;
    font-size: 14px;
}
.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px !important;
}
.section-icon-circle {
    width: 50px;
    height: 50px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hint-text {
    font-size: 12px;
    line-height: 1.4;
}

/* Absher OTP Modal Styles */
.absher-modal .modal-content {
    border-radius: 15px;
    border: none;
}

.absher-modal .btn-close {
    opacity: 1;
    font-size: 0.8rem;
}

.absher-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 20px auto ;
}

.absher-icon-circle {
    width: 100px;
    height: 100px;
    background-color: #5d677d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    border: 5px solid #d1d5db;
}


.absher-modal .modal-title {
    font-weight: 700;
    color: #333;
}

.absher-modal .modal-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}

.otp-inputs-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    direction: ltr; /* OTP inputs usually left-to-right even in RTL */
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.2s;
}

.otp-input:focus {
    border-color: #00a6a6;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 166, 166, 0.1);
}

.btn-absher-primary {
    background-color: #00a6a6;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
    width: 100%;
}

.btn-absher-primary:hover {
    background-color: #008f8f;
    color: white;
}

.btn-absher-outline {
    background-color: transparent;
    color: #00a6a6;
    border: 1px solid #00a6a6;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
}

.btn-absher-outline:disabled {
    color: #6c757d !important;
    border-color: #e0e0e0 !important;
}
.btn-absher-outline:hover {
  color: #00a6a6;
  border: 1px solid #00a6a6;
}
.absher-warning-box {
    background-color: #fff9e6;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    text-align: right;
}

.absher-warning-box i {
    color: #ffc107;
    margin-top: 3px;
}

.absher-warning-box p {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: #856404;
    line-height: 1.4;
}

.absher-attempts-footer {
    background-color: #eceff2;
    border-radius: 8px;
    padding: 8px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

.absher-attempts-footer span {
    color: #dc3545;
    font-weight: 700;
}

.resend-countdown {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.resend-countdown span {
    color: #dc3545;
    font-weight: 600;
}

.absher-error-msg {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 10px;
    display: none;
    text-align: center;
}

.absher-error-msg i {
    margin-left: 5px;
}


/* Absher Process Request Modal Styles */
.absher-process-steps {
  display: flex;
  flex-direction: column;
  background: #FBFBFB;
  text-align: start;
  border-radius: 10px;
}

.process-step-item {
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    font-weight: 500;
    gap: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.process-step-item .status-icon {
    display: none;
    font-size: 16px;
}

.process-step-item.pending .status-icon.fa-spin{
    color: #334155;
}

.process-step-item.pending .status-icon.fa-spin {
    display: inline-block;
  color: #334155;
}

.process-step-item.completed {
    color: #334155;
}

.process-step-item.completed .status-icon.fa-check-circle {
    display: inline-block;
    color: #14b8a6;
}

.process-step-item.failed {
    color: #ef4444;
}

.process-step-item.failed .status-icon.fa-times-circle {
    display: inline-block;
    color: #ef4444;
}

.process-step-item .step-check {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
}
.absher-process-warning {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: right;
}

.absher-process-warning p {
    margin: 0;
    font-size: 0.875rem;
    color: #92400e;
    line-height: 1.5;
}

#btnProcessNext:disabled {
    background-color: #cbd5e1 !important;
    border-color: #cbd5e1 !important;
    color: #f8fafc !important;
    cursor: not-allowed;
}

/* Refined Process Modal for RTL Design */
#absherProcessModal .modal-content {
    padding: 60px 40px !important;
}

.absher-process-warning {
    background-color: #fff9e6 !important;
    border: 1px solid #ffe58f !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    direction: rtl !important;
}

.absher-process-warning i {
    color: #f6b500 !important;
    font-size: 20px !important;
}

.btn-absher-primary:disabled {
    background-color: #d1d5db !important;
    opacity: 0.6;
}
.loading-dot-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 15px auto 50px;
}

.loading-dot-spinner .dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #CBD5E1;
  border-radius: 50%;
  animation: dot-loading 1.2s infinite ease-in-out both;
}

.loading-dot-spinner .dot:nth-child(1) {
  top: 0;
  left: 25px;
  animation-delay: 0s;
}

.loading-dot-spinner .dot:nth-child(2) {
  top: 7px;
  left: 43px;
  animation-delay: -0.1s;
}

.loading-dot-spinner .dot:nth-child(3) {
  top: 25px;
  left: 50px;
  animation-delay: -0.2s;
}

.loading-dot-spinner .dot:nth-child(4) {
  top: 43px;
  left: 43px;
  animation-delay: -0.3s;
}

.loading-dot-spinner .dot:nth-child(5) {
  top: 50px;
  left: 25px;
  animation-delay: -0.4s;
}

.loading-dot-spinner .dot:nth-child(6) {
  top: 43px;
  left: 7px;
  animation-delay: -0.5s;
}

.loading-dot-spinner .dot:nth-child(7) {
  top: 25px;
  left: 0;
  animation-delay: -0.6s;
}

.loading-dot-spinner .dot:nth-child(8) {
  top: 7px;
  left: 7px;
  animation-delay: -0.7s;
}

@keyframes dot-loading {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.3;
  }

  40% {
    transform: scale(1.2);
    opacity: 1;
    background-color: #94A3B8;
  }
}

.absher-process-success-icon {
  width: 60px;
  height: 60px;
  margin: 15px auto 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
  animation: absher-scale-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.absher-process-success-icon i {
  font-size: 40px;
  color: #14b8a6;
}

@keyframes absher-scale-up {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Absher Process Failed Modal Styles */
.absher-process-error-alert {
  background-color: #fff1f2 !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  display: flex !important;
  align-items: center !important;
  color: #FF3B30 !important;
  gap: 10px;
}

.absher-process-error-alert p {
    margin: 0 !important;
    font-size: 14px !important;
}

.absher-support-card {
  background-color: #f9f9f9 !important;
  border: 1px solid #E5E5E5;
  border-radius: 10px !important;
  padding: 10px;
  text-align: right;
  margin: 30px auto;
}

.support-title {
    font-size: 14px !important;
    color: #364153 !important;
}

.support-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    color: #333 !important;
}

.support-item i {
    color: #ef4444 !important;
}
.offer-actions {
  margin-top: 30px;
}
.offers-list {
  gap: 30px;
}
.compare-table .select-offer-btn {
  min-width: 200px;
}
