/********** Template CSS **********/
:root {
    --primary: #6fca3a;
    --secondary: #2B2E4A;
    --secondary-light: #eff0f5;
    --light: #F4F5F8;
    --dark: #1C1E32;
    --hover: #b2c08d;
}

body {
    font-family: 'Tajawal', sans-serif;
}



h1,
h2,

.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
  width: 250px;
  height: 50px;
    position: fixed;
    display: block;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    border-radius: 6px;
}


.nav-bar::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: var(--dark);
}

.nav-bar::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: #ffffff;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 30px 15px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover
{
    background: var(--primary);
   
}
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}
.navbar-dark .navbar-nav .nav-link.active:hover {
    color: var(--light);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        padding: 10px 15px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 30, 50, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.page-header {
    height: 400px;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)), url(../img/bg-banner.jpg);
    background-attachment: fixed;
}

@media (max-width: 991.98px) {
    .page-header {
        height: 300px;
    }
}

.service-item {
    height: 360px;
    background: var(--secondary-light);
    transition: .5s;
}

.service-item:hover,
.service-item.active {
    background: var(--secondary);
}

.service-item h1,
.service-item h4 {
    transition: .5s;
}

.service-item:hover h1,
.service-item.active h1 {
    color: var(--dark) !important;
}

.service-item:hover h4,
.service-item.active h4 {
    color: var(--light);
}

.rent-item {
    padding: 30px;
    text-align: center;
    background: var(--light);
    transition: .5s;
}

.rent-item:hover,
.rent-item.active {
    background: var(--secondary);
}

.rent-item h4 {
    transition: .5s;
}

.rent-item:hover h4,
.rent-item.active h4 {
    color: var(--light);
}

.team-item {
    padding: 30px 30px 0 30px;
    text-align: center;
    background: var(--light);
    transition: .5s;
}

.team-item:hover,
.owl-item.center .team-item {
    background: var(--secondary);
}

.team-item h4 {
    transition: .5s;
}

.owl-item.center .team-item h4,
.owl-item.center .rent-item h4 {
    color: var(--light);
}

.team-item .team-social {
    top: 0;
    left: 0;
    opacity: 0;
    transition: .5s;
    background: var(--light);
}

.owl-item.center .team-item .team-social,
.owl-item.center .rent-item {
    background: var(--secondary);
}

.team-item:hover .team-social {
    opacity: 1;
    background: var(--secondary);
}

.team-carousel .owl-nav,
.related-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 60px;
    top: calc(50% - 30px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next,
.related-carousel .owl-nav .owl-prev,
.related-carousel .owl-nav .owl-next {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover,
.related-carousel .owl-nav .owl-prev:hover,
.related-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.vendor-carousel .owl-dots,
.testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-carousel .owl-dot,
.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    transition: .5s;
}

.vendor-carousel .owl-dot.active,
.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 80px;
    height: 80px;
}

.testimonial-carousel .owl-item .testimonial-item {
    height: 350px;
    transition: .5s;
    background: var(--light);
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--secondary);
}

.testimonial-carousel .owl-item .testimonial-item h1,
.testimonial-carousel .owl-item .testimonial-item h4 {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item h1 {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item h4 {
    color: var(--light);
}

.bg-banner {
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)), url(../img/bg-banner.jpg);
    background-attachment: fixed;
}

.payment-icons img {
  
    transition: transform 0.3s ease;
}

.payment-icons img:hover {
    transform: scale(1.05);
}
.footer-link {
    color: #ffffff;
    opacity: 0.85;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

/* ===== Dropdown Enhanced Style ===== */

.navbar-nav .dropdown-menu {
    background-color: var(--secondary);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    text-align: right;
}

/* Dropdown item */
.navbar-nav .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: 15.5px;
    padding: 10px 20px;
    transition: all 0.25s ease;
}

/* Icons */
.navbar-nav .dropdown-item i {
    font-size: 15px;
    color: var(--primary);
    width: 18px;
    text-align: center;
}

/* Hover */
.navbar-nav .dropdown-item:hover {
    background-color: rgba(255,255,255,0.08);
    padding-right: 26px;
}

/* Divider */
.dropdown-divider {
    border-color: rgba(255,255,255,0.15);
    margin: 6px 15px;
}

/* CTA item (Online Booking) */
.dropdown-item.cta {
    background-color: var(--primary);
    color: #fff;
    margin: 8px 15px 5px;
    border-radius: 6px;
    justify-content: center;
    font-weight: 600;
}

.dropdown-item.cta i {
    color: #fff;
}

.dropdown-item.cta:hover {
    background-color: #5bb82f;
    padding-right: 20px;
}
/* ===== Popular Badge ===== */

.dropdown-item .badge-popular {
    background-color: #5bb82f;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-right: auto; /* يدفعه لأقصى اليسار (RTL) */
    font-weight: 600;
    animation: pulseBadge 1.8s infinite;
}

/* Pulse animation */
@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 rgba(255,152,0,0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255,152,0,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,152,0,0);
    }
}

/* ===============================
   PREMIUM BOOKING PAGE
================================ */

.booking-hero {
  background: linear-gradient(rgba(28,30,50,.85), rgba(28,30,50,.85)),
              url(img/bg-banner.jpg);
  padding: 90px 20px;
  color: #fff;
  text-align: center;
}
.booking-hero h1 {
  font-size: 42px;
  font-weight: 700;
}
.booking-hero p {
  font-size: 18px;
  opacity: .9;
}

/* Steps */
.booking-steps {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 60px 0;
}
.booking-steps .step {
  text-align: center;
  color: #aaa;
}
.booking-steps .step span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ddd;
  color: #fff;
  font-weight: bold;
  margin: auto;
}
.booking-steps .step.active span {
  background: var(--primary);
}
.booking-steps .step.active {
  color: var(--dark);
}

/* Booking Card */
.booking-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0,0,0,.08);
  max-width: 1100px;
  margin: auto;
}

/* Car Card */
.car-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: .3s;
  cursor: pointer;
}
.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}
.car-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.car-card .content {
  padding: 20px;
}
.car-card .features {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 10px 0;
}
.car-card .price {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

/* Trust Bar */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 60px 0;
  font-weight: 600;
}
.trust-bar i {
  color: var(--primary);
  margin-left: 6px;
}

/* ===== SEO: تصحيح بنية العناوين (H1/H2) - إضافات فقط للحفاظ على المظهر الأصلي ===== */
.display-1,
.display-2 {
    font-weight: 700 !important;
}

.service-item .display-2 {
    transition: .5s;
}

.service-item:hover .display-2,
.service-item.active .display-2 {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-item .testimonial-item .display-2 {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item .display-2 {
    color: var(--dark) !important;
}

.navbar-brand-text {
    font-weight: 700;
}

@media (max-width: 576px) {
    .carousel-caption h2 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}
