/**
* Template Name: Append
* Template URL: https://bootstrapmade.com/append-bootstrap-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */



:root {
  --default-font: "Cairo", sans-serif;
  /* استبدال الخط الافتراضي بخط "Cairo" */
  --heading-font: "Cairo", sans-serif;
  /* استبدال خط العناوين بخط "Cairo" */
  --nav-font: "Cairo", sans-serif;
  /* استبدال خط التنقل بخط "Cairo" */
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #32353a; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ad7f33; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #3a3939;  /* The default color of the main navmenu links */
  --nav-hover-color: #ad7f33; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #3a3939; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ad7f33; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}
ul{
  list-style: none;
}
a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: rgba(15, 15, 15, 0.856);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 5px #b6b5b533;
  flex-wrap: wrap;

}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 50px;
  margin-left: 8px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 24px;
  font-weight: 600;
  padding-left: 3px;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  

  .header .navmenu {
    order: 3;
  }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 10px;
    }
}

.scrolled .header {
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

.language-selector {
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

select {
  font-size: 16px;
  color: white;
background-color: rgba(15, 15, 15, 0);
  width: 100px;
  cursor: pointer;
  border: none;
}

select:focus {
  border: 1px solid #d5dadf;
  outline: none;
  background-color: #060606;
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
  --heading-color: #ffffff;
  --nav-color: rgba(255, 255, 255, 0.5);
  --nav-hover-color: #ffffff;
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: #ffffff;
  --heading-color: #32353a;
  --nav-color: #3a3939;
  --nav-hover-color: #e84545;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: white;
    padding: 18px 15px;
    font-size: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    right: 40px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    color: white;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  /*--*/
.dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 10px 0;
  margin: 10px 20px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

 .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.dropdown>.dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}
  /*--*/

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}
@media(min-width:768px) {
  .container {
    width: 750px;
  }
}

/* Medume Screen */
@media(min-width:992px) {
  .container {
    width: 970px;
  }
}

/* Large Screen */
@media(min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

.main-title {
  padding: 10px 20px;
  margin: 0px auto 80px;
  border: 2px solid black;
  font-size: 30px;
  width: fit-content;
  position: relative;
  z-index: 1;
  font-weight:bold ;
  transition: 0.3s;
  border-radius: 6px;
  text-transform: uppercase;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}

.main-title:hover {
  color: white;
  border: 2px solid white;
  transition-delay: 0.5s;
}

.main-title::before {
  content: '';
  position: absolute;
  width: 12px;
  border: 2px solid var(--accent-color);
  height: 12px;
  left: -20%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: var(--accent-color);
}

.main-title::after {
  content: '';
  position: absolute;
  width: 12px;
  border: 2px solid var(--accent-color);
  height: 12px;
  right: -20%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: var(--accent-color);
}

.main-title:hover::before {
  z-index: -1;
  animation: left-move 5.5s linear forwards;
  -webkit-animation: left-move 0.5s linear forwards;
}

.main-title:hover::after {
  z-index: -1;
  animation: right-move 5.5s linear forwards;
  -webkit-animation: right-move 0.5s linear forwards;
}

.main {
  padding-top: 0;
  position: relative;
  background-size: cover;
  padding-bottom: 100px;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 15, 0.684);
  z-index: 0;
}

/* ---- main container ---- */
.main .container {
  z-index: 1;
  padding-top: 180px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 40px;
  align-items: center;
}

/* ---- text ---- */
.main .text h1 {
  color: white;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 40px;
}

.main .text h1 span {
  color: var(--accent-color);
}

.main .text p {
  color: white;
  line-height: 2;
  font-size: 18px;
  font-weight: 500;
}

.main .text p span {
  color: var(--accent-color);
}

/* ---- image ---- */
.main .image img {
  width: 400px;
  max-width: 100%;
  border-radius: 50%;
}

/* ---- buttons ---- */
.main .link {
  margin-top: 20px;
}

.main .link a {
  background-color: white;
  color: var(--accent-color);
  padding: 8px 25px;
  font-size: 18px;
  margin-right: 20px;
  border: 2px solid var(--accent-color);
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
}

.main .link a:first-child {
  background-color: var(--accent-color);
  color: white;
  border-color: white;
}

.main .link a:hover {
  background-color: var(--accent-color);
  color: white;
  border-color: white;
}

.main .link a:first-child:hover {
  background-color: white;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* ---------- MOBILE FIXES ---------- */
@media (max-width: 768px) {

  .main .container {
    grid-template-columns: 1fr;
    padding-top: 120px;
    text-align: center;
  }

  .main .text h1 {
    font-size: 28px;
  }

  .main .text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .main .image img {
    width: 250px;
    margin: auto;
  }

  .main .link a {
    margin: 10px 0;
    font-size: 16px;
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}



.services{
  padding-top: 100px  ;
  padding-bottom: 100px;
}

.services .container{
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(250px , 1fr));
  gap: 20px;
}

.services .container .box{
  border: 2px solid var(--accent-color);
  border-radius: 6px;
  box-shadow: 0 3px 3px var(--default-color);
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.services .container .box:hover{
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  -o-transform: translateY(-10px);
}

.services .box .text{
  text-align: center;
  padding: 25px;
  margin-top: 30px;
}

.services .box .text h1:first-child{
  color: var(--accent-color);
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 20px;
}

.services .box .text h1{
  margin-bottom: 20px;
  font-weight: bold;
}



.cars{
  padding-top: 100px;
  padding-bottom: 100px;
}

.cars .container{
  display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.cars .container .box {
  border: 2px solid var(--accent-color);
  border-radius: 6px;
  box-shadow: 0 3px 3px var(--default-color);
  align-content: center;
  background-color: rgba(219, 218, 218, 0.226);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.cars .container .box:hover {
  background-color: white;
  transform: scale(1.05px);
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  -o-transform: translateY(-10px);
}
.cars .container .box p{
padding: 0 20px;
}

.cars .container .box:hover p{
  opacity: 1;
  max-height: 100px;
  margin-top: 10px;
}

.cars .container .box .image {
  flex: 0 0 50%;                  /* الصورة تاخد نص الكارد */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cars .container .box .image img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 5px;
  border-radius: 6px;
}


.cars .box .text {
  padding-bottom: 40px;
  position: relative;
  padding-top: 40px;
  background-color:white;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  
}
.cars .box .text:hover{
    background-color: rgba(219, 218, 218, 0.226);

}

.cars .box .text::after{
  content: '';
    position: absolute;
    border-style: solid;
    border-width: 0px 0px 50px 313px;
    border-color: transparent transparent white transparent;
    right: 0;
    top: -49px;
}
.cars .box .text:hover::after{
  left: 0;
  top: -54.5px;
  border-width: 55px 5px 0px 313px;
  border-color: transparent transparent transparent rgba(219, 218, 218, 0.226);
}
.cars .box .text .linkes{
  padding: 20px;
  display: flex;
  justify-content: space-between;
}
.cars .box .text h1{
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 40px;
}

.cars .box .text p{
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.cars .box .text a{
  display: block;
  margin: auto;
  background-color: var(--accent-color);
  color: white;
  padding: 8px 50px;
  border-radius: 6px;
  font-weight: bold;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

.cars .box .text a:hover{
  background-color: white;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);

}


.about {
  padding-top: 100px;
  padding-bottom: 100px;
}

.about .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
  gap: 40px;
  align-items: center;
}

.about .container .text {
  padding: 20px 40px;
}

.about .container .text h2 {
  font-weight: bold;
  margin-bottom: 30px;
  font-size: 36px;
}

.about .container .text h2 span {
  color: var(--accent-color);
}

.about .container .text p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* أزرار About */
.about .buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.about .container .text .more {
  background-color: var(--accent-color);
  color: white;
  padding: 10px 25px;
  border-radius: 6px;
  transition: 0.3s;
  font-weight: bold;
}

.about .container .text .more:hover {
  background-color: white;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.about .container .text a {
  color: white;
  background-color: #191e2a;
  padding: 10px 25px;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s;
}

.about .container .text a:hover {
  background-color: white;
  color: #191e2a;
  border: 2px solid #191e2a;
}

/* الصورة */
.about .container img {
  width: 380px;
  max-width: 100%;
  margin: auto;
  display: block;
  animation: up-down 5s linear infinite;
}

@keyframes up-down {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* 🌟 تصميم الموبايل */
@media (max-width: 768px) {
  .about .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about .container .text {
    padding: 10px;
  }

  .about .container img {
    width: 250px;
    margin-top: 20px;
  }

  .about .buttons {
    flex-direction: column;
    align-items: center;
  }

  .about .buttons a,
  .about .buttons .more {
    width: 80%;
  }
}

.bookingcar{
  padding-bottom: 100px;
}

.bookingcar .container{
  display: grid;
  grid-template-columns: repeat(auto-fill , minmax(300px , 1fr));
  gap: 40px;
  align-items: center;
}

@media (min-width: 525px) {
  .bookingcar .container {
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  }
}

.bookingcar .container .text img{
  width: 100%;
  max-width: 300px;
  margin: auto;
  border-radius: 50%;
  margin-bottom: 40px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.bookingcar .container .text h1{
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 40px;
}

.bookingcar .container .text p {
  font-size: 18px;
  line-height: 1.5;
  color: #191e2a;
  font-weight: bold;
}



.bookingcar form{
  background-color: #70717236;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}
.bookingcar form label:first-child{
  margin-top: 20px;
}
.bookingcar form label{
  display: block;
  margin-right: 20px;
}
.bookingcar form input{
  width: calc(100% - 40px);
  margin-right: 20px;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  height: 40px;
  box-shadow: 0 5px 5px rgba(49, 46, 46, 0.37);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}

.bookingcar form input::placeholder{
  color: rgba(0, 0, 0, 0.26);
  text-align: right;
  padding: 10px;

}
.bookingcar form .date-input {
  color: rgba(0, 0, 0, 0.418) ;
}


.bookingcar form .date-input:focus {
  color:black;
}
.date-input::-webkit-calendar-picker-indicator {
  margin-right: 10px;
}

.bookingcar form button[type="submit"]{
  background-color:var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 8px 20px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 40px;
  transition: 0.3s;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}

.bookingcar form button[type="submit"]:hover{
  background-color: #191e2a;
  border-color: #191e2a;
}
@media(max-width: 500px){

  .bookingcar .container .text h1{
    font-size: 24px;
    text-align: center;
  }

  .bookingcar .container .text p{
    text-align: center;
  }
}


.footer{
  padding-top: 150px;
  background-image: url(../img/footer.jpg);
  background-position: 15px;
  background-size: cover;
  padding-bottom: 100px;
  position: relative;
}

.footer::after{
  content: '';
  position: absolute;
  background-color: rgba(15, 15, 15, 0.79);
  width: 100%;
  height: 100%;
  top: 0;
  
}
.footer .container{
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px , 1fr));
  gap:45px;
  align-items: center;
  z-index: 1;
}

.footer .image img{
  width: 200px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.footer .info a{
  color: var(--accent-color);
  padding: 10px;
  display: block;
}

.footer .info a:hover{
  color: white;
  
}

.footer .info a i{
  margin-left: 10px;
}

.footer .media a{
  color: var(--accent-color);
  display: block;
  padding: 10px;
}

.footer .media a:hover{
  color: white;
}

.footer .media a i{
  margin-left: 10px;
}

.footer .massage a{
  display: block;
  background-color: var(--accent-color);
  color: white;
  margin-bottom: 20px;
  padding: 8px;
  width: 150px;
  text-align: center;
  font-weight: bold;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.footer .massage a:hover {
  background-color: #191e2a;
}
/* Media Query للشاشات الصغيرة جدًا (≤ 525px) */
@media (max-width: 999px) {
  .footer .container {
    display: grid;
    grid-template-columns: 1fr; /* عمود واحد */
    gap: 20px;
    justify-items: center; /* يجعل العناصر في المنتصف */
    text-align: center; /* لتوسيط النصوص داخل العناصر */
  }

  .footer .image img {
    width: 120px;
  }

  .footer .massage a {
    width: 100%;
    margin: 10 auto;
     /* لضمان أن الزر يتوسط */
  }

  .footer {
    padding-top: 100px;
    padding-bottom: 50px;
  }
}




#message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 15px;
  color: white;
  background-color: rgba(95, 95, 92, 0.58);
  border-radius: 8px;
  text-align: center;
  font-size: 26px;
  width: 30%;
  max-width: 400px;  /* الحد الأقصى للعرض */
  min-width: 200px;  /* الحد الأدنى للعرض */
  height: auto;      /* ارتفاع تلقائي حسب المحتوى */
  z-index: 1000;
}

#icon {
  display: block;
  margin: 20px auto 0; /* توسيط الأيقونة */
  font-size: 50px;
}

#message.success {
  background-color: rgba(95, 95, 92, 0.58);
}

#message.error {
  background-color: rgba(95, 95, 92, 0.58);
}

/* أيقونات Font Awesome */
.success::before {
  font-family: "Font Awesome 5 Free";
  content: '\f058'; /* أيقونة صح */
  display: block;
  font-size: 50px;
  color: green;
  margin-bottom: 15px;
}

.error::before {
  font-family: "Font Awesome 5 Free";
  content: '\f057'; /* أيقونة خطأ */
  display: block;
  font-size: 50px;
  color: red;
  margin-bottom: 15px;
}

/* Media Query للشاشات الصغيرة */
@media (max-width: 525px) {
  #message {
    width: 80%;    /* عرض أكبر على الشاشات الصغيرة */
    font-size: 20px;
    padding: 15px 10px;
  }

  #icon {
    font-size: 40px;
  }
}



html, body {
  overflow-x: hidden !important;
  width: 100%;
}





@keyframes left-move {
  50% {
    left: 0;
    width: 12px;
    height: 12px;
  }

  100% {
    border-radius: 6px 0px 0px 6px;
    left: 0;
    width: 50%;
    height: calc(100% - 2px);
}
}

@keyframes right-move {
  50% {
    right: 0;
    width: 12px;
    height: 12px;
  }

  100% {
    border-radius: 0px 6px 6px 0px;
    right: 0;
    width: 50%;
    height: calc(100% - 2px);
    -webkit-border-radius: 0px 6px 6px 0px;
    -moz-border-radius: 0px 6px 6px 0px;
    -ms-border-radius: 0px 6px 6px 0px;
    -o-border-radius: 0px 6px 6px 0px;
}
}

@keyframes up-down {

  0%,
  100% {
    top: 0;
  }

  50% {
    top: -50px;
  }
}
.badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}
.badge.available {
    background: #27ae60;
    color: #fff;
}
.badge.not-available {
    background: #c0392b;
    color: #fff;
}


