/* Import Google Font 'Zain' with different weights and styles */
@import url('https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');

/* Define global CSS variables for consistent color usage */
:root {
  
  --main-color: #0a2e3e; /* Primary background color */
  /* --main-color: #155173; Primary background color */
  --white-color: #ffffff; /* Text color */
  --nav-link-color: #e7e7e7; /* Default navbar link color */
  --active-color: #f9b333; /* Active navbar link color */
  --border-card:1px solid #d2d2d2;
  --star-color:#d2d2d2;
  --second-color:#9d9c9c;
  --black:#000;
  
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
   margin: 0;
   padding: 0;
   border: 0;
   outline: 0;
   vertical-align: middle;
   background: transparent;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
/* Global styles for the body */
body ,html{
  overflow-x: hidden;
}
body {
  margin: 0; /* Remove default margin */
  font-family: 'Zain', sans-serif !important; /* Apply custom font */
  background-color: var(--main-color); /* Set background color */
  color: var(--white-color); /* Set text color */
  direction: rtl; /* Set right-to-left text direction */
  padding-right: 0 !important;
}
link[rel="icon"] {
  border-radius: 50%;
  overflow: hidden;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='%23f9b333' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}
.navbar-toggler {
  border: var(--bs-border-width) solid var(--active-color);}
/* Navbar styles */
header .navbar {
  font-size: 22px; /* Set font size for navbar */
}
/* Logo styling inside the navbar */
 .logo {
  width: 120px; /* Set fixed width for logo */
}
/* Navbar link styling */
header .navbar .nav-link {
  color: var(--nav-link-color); /* Set default link color */
}
/* Styling for active and hovered navbar links */
.navbar-nav .nav-link.active, 
.navbar-nav .nav-link.show {
  color: var(--active-color); /* Change link color when active */
}

/* Styling for the double-down icon inside the home  */
.double-down { 
  width: 50px;
  position: absolute;
  bottom: 10px;
  left: 50%; /* Position in the center horizontally */
  transform: translateX(-50%); /* Adjust for exact centering */
  cursor: pointer;
  animation: mover 1s infinite alternate;
}
@keyframes mover {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}
.main{
  padding-bottom: 45px !important;
}
/* ------------------------ about us ----------------- */
.about-us{
  color: var(--main-color);
}

.about-us h2{
  font-size: 30px;
  font-weight: 700;
}

.about-us p{
  font-size: 18px;
  color: #575757;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.about-us .btn-close {
  filter: invert(1); /* Makes the button white */
}
.about-us .about-img-box {
  position: relative;
}

.about-us .about-img-box {
  border-radius: 10px;
  
}
.about-us .about-img-box img{
  width: 90%;
  margin: auto;
}
.about-img-box .play-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.about-img-box  .play-content .video-popup {
  width: 70px;
  height: 70px;
  display: flex
;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: #114563;
  color: #fff;
  font-size: 20px;
}
.about-img-box .play-content .video-popup .bi{
  height: 28px;
}
.about-img-box .play-content .video-popup .bi::before{
font-size: 30px;}
.about-us ul{
  padding-right: 15px;
}
.about-us ul > li > h6{
  font-size: 20px;
  margin-bottom: 0.5rem;
}
.about-us ul > li p{
  font-size: 17px;
  color: #575757;
}
/* ------------------------- */
/* ------------- accordion --------------- */
.accordion-button{
  color: #4a4949;
}
.accordion-button::after{
  position: absolute;
  left: 1rem !important;
}

.accordion-button:focus {
  border: none;
  box-shadow: none !important;
}
.accordion-body {
  padding: 1rem 1.25rem;
  padding-bottom: 4rem;
  background: #ffc72c10;
  color: #4a4949;  
  line-height: 1.8;
}
.accordion-item {
  background-color: var(--white-color);
  border: none !important;
  margin-bottom: 1rem;
}
.form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  box-shadow: none !important
}
.form-check-input:checked {
  background: var(--active-color);
  border-color:var(--active-color)
}
.form-check .form-check-input{
  margin-left: -1.8rem !important;
}
/* Section services Styling */
.services{
  background: var(--white-color);
  color: var(--main-color);
}
.services .card { 
  color: var(--main-color); 
  border-radius: 15px;
    /* width: 380px;  */
  position: relative; 
   text-align: center; 

}

.services .card:hover{
  background: #fde8c1;
  border: 1px solid #fde8c1;
}
.services .card img { 
  width: 100%; 
  border-radius: 15px 15px 0 0;
  height: 250px; 
}
.services .card h2{
  margin-top: 11px;
    margin-bottom: 0;
}
.services .form-select {
  padding: 0.9rem;
  background-position: left .75rem center;
  border-radius: 18px;

}
.status { 
  background:  var(--active-color);
  position: absolute;
  top: 10px;
  right: -10px;
  padding: 5px 10px; 
  font-size: 14px; 
  font-weight: 600;
}
.details { 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
border-top: var(--border-card);
padding: 8px 15px; 
}
.services .card:hover .details{
  border-top: 1px solid #fde8c1;
}
.status::before{
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  border: 5px solid var(--active-color);
  border-bottom: 5px solid transparent;
  border-right: 5px solid transparent;
}
.star-icon {
  color: var(--star-color);
  font-size: 2em;
  position: relative;
}

.star-icon.full:before {
  color: var(--active-color);
  content: '\2605';
  position: absolute;
  left: 0;
}
.filter .accordion-item, .filter .accordion-button, .filter .accordion-body,
.offcanvas .accordion-item, .offcanvas .accordion-button, .offcanvas .accordion-body {
   background-color: transparent !important;
   padding-bottom: .5rem !important;
   font-size: 18px;
}
.filter .accordion-button:not(.collapsed),
.offcanvas .accordion-button:not(.collapsed){
   box-shadow: none !important;
}
.filter .accordion-button:not(.collapsed),
.offcanvas .accordion-button:not(.collapsed){
   color: #4a4949 !important;
}
.filter .accordion-button:not(.collapsed)::after,
.offcanvas .accordion-button:not(.collapsed)::after{
   background-image: url(assets/images/down-arrow.png) !important;
}
.filter{
   background-color:var(--white);
   border-radius: 20px;
   border: 0.30000001192092896px solid #0000002d ;
   padding: 1rem 0;
   font-size: 18px;
   color: #4a4949 !important;

}
.accordion-body ul,
.filter ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.offcanvas .btn,
.filter .btn{
  background-color: rgba(255, 199, 44 , .34);
  color: #4a4949;
  display: block;
  width: calc(100% - 2rem) ;
  margin: auto;
  padding: 10px 0;   
  line-height: normal; 
  border-radius: 10px; 
  font-weight: bold;
}
.offcanvas .btn-close {
  filter: invert(0);
}
.search-inp .form-control{
  border: 0.20000000298023224px solid #70707028;
  border-radius: 18px;
  padding: 1rem 2rem !important;
}
.search-inp .btn i {
  margin-left: 1.5rem;
  font-size: 18px;
}
.search-inp .btn-search{
  position: absolute;
  padding: 0%;
  top: 34%;
  left: 15px;
  color:#575757 !important;
  z-index: 4;
  box-shadow: none !important;
}
#filter{
  position: fixed;
  top: 50%;
  right: 0;
  color: var(--white-color) !important;
  background-color: var(--main-color);
  padding: .5rem 1rem;
  border-radius: 5px 0px 0px 5px;
  display: none;
  z-index: 555555;
}
.form-select:focus {
  border-color: transparent;
  outline: 0;
  box-shadow: none;
  border: 1px solid #e9e9e9;
}
/* service detail */
.service-detail{
  background: var(--white-color);
  color: var(--black);
}
.service-detail .carousel-item{
  height: 400px;
}
.service-detail .description img{
width: 220px;
height: 220px;
margin-top: 2px;
margin-bottom: 10px;
}
.service-detail .carousel-control-next-icon,
.service-detail .carousel-control-prev-icon {
  filter: brightness(0.1);
}
.pagination .page-item:first-child .page-link {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  padding-bottom: 5.2px;
  border-left: 0;
}
.pagination .page-item:last-child .page-link {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
  padding-bottom: 5.2px;

}
.pagination .page-link { color: #126a9c;}
.product-info {
    background: var(--main-color);
    text-align: center;
    border-radius: 5px;
    color: var(--white-color);
}

.order-summary {
    background: var(--white-color);
    border-radius: 10px;
    color: var(--black);
    border: var(--border-card);
}


.order-summary h5, .order-summary h6 {
    font-weight: bold;
    color: var(--main-color);
}

.order-summary p {
    margin: 0;
    font-size: 16px;
}
.order-summary .btn-main{
  background: var(--main-color);
  color: var(--white-color);
}
.modal.order{
  color: var(--black);
}
.testimonials{
  padding-bottom: 50px;
}
.testimonials .headtitle{
  color: var(--main-color);
}
.testimonials .card{
  position: relative;
}
.stretched-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  text-decoration: none; /* Remove underline */
}
.testimonials .card-body{
  height: 330px;
  text-align:center;
  overflow: hidden;
  position: relative; /* Ensures the content appears above the link */
  /* z-index: 2; */
}
.testimonials .card-body  p {
  white-space: nowrap; /* Prevent text from wrapping to the next line */
  overflow: hidden;    /* Hide any overflowing text */
  text-overflow: ellipsis; /* Display '...' for the overflowing text */
  width: 100%;         /* Ensure the element has a fixed width */
  color: var(--second-color);
}
.testimonials .UserImage{
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.testimonials .carousel-indicators {
  top: 100%;
}
.testimonials .carousel-indicators [data-bs-target] {
  background-color: var(--main-color);
}
footer{
  color: var(--white-color);
  font-size: 20px;
}

footer ul {
  list-style: none;
}
footer ul a{
color: var(--white-color);
text-decoration: none;}
footer .btn-footer{
  background: var(--active-color);
  color: var(--white-color);
  font-size: 18px;
}
footer a{
  color: var(--white-color);

}
footer li{
  list-style: none;

}
.breadcrumb-container {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust height based on your image */
  background: url('assets/images/breadcrumbg.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.breadcrumb-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}
.breadcrumb {
  position: relative; /* Ensure it stays above overlay */
  background: transparent;
  font-size: 28px;
  color: var(--white-color);
  margin: 0;
  padding: 0;
  z-index: 2; /* Ensure it's above overlay */
}
.breadcrumb-item.active{
  font-size: 28px;
  color: var(--white-color);
}
.breadcrumb a {
  color: var(--white-color);
  text-decoration: none;
}
.breadcrumb-item+.breadcrumb-item::before {
  float: right;
  padding-left: 4px;
  color: var(--white-color);
}
/* form */
.contactUs{
color: var(--main-color);
}
.contactUs .main-btn{
  background: var(--main-color);
  color: var(--white-color) !important;
  border-radius: 10px;
}
.contactUs .contact-form{
  border-radius: 20px;
}
.contactUs .contact-form label{
  padding: 0px 20px;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 10px;
}
.contactUs .contact-form .form-control{
  border: 1px solid #ECECEC;
  background-color: var(--white-color) ;
  margin-bottom: 25px;
  border-radius:  10px;
}
.contactUs .contact-form .form-control::placeholder{
  color:#848484;
  font-size: small;
}
.contactUs .list-container {
  background-color: #fff;
  width: 90%;
  max-width: 600px;
  margin: auto;
  border-radius: 5px;
  overflow-y: auto;
  max-height: 400px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.contactUs .list-item {
    padding: 10px;
    /* padding-bottom: 0; */
    border-bottom: 1px solid #ddd;
}

.contactUs .list-item:last-child {
    border-bottom: none;
}

.contactUs .distance {
    color: #777;
    font-size: 14px;
}

.contactUs .title {
    margin: 5px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.contactUs .detailstext {
    color: #555;
    font-size: 14px;
    }
    /* dir ltr style */
    [dir="ltr"] body {
      direction: ltr;
      text-align: left; /* Ensure text aligns correctly */
    }
    [dir="ltr"] .services .form-select {
      background-position: right .75rem center;
  }
  [dir="ltr"] .search-inp .btn-search {
   left: auto;
    right: 15px;
    width: 15px;
}
[dir="ltr"] .breadcrumb-item+.breadcrumb-item::before {
  float: left;
  
}
[dir="ltr"] .status {
  left: -10px;
}
[dir="ltr"] .status::before {
  left: 0;
  border-left: 5px solid transparent;
}
@media (max-width:768.8px){

  .about-us h2 {
     font-size: 22px;
     margin-bottom: 1rem;
  }
  .about-us p {
     font-size: 14px;
     margin-bottom: 1rem;
  }

  .about-us ul > li::before{
     right: 1rem;
  }
  .about-us ul > li::after{
     width: 2rem;
     height: 2rem;
  }
  .about-us ul > li:last-child::before{
     content: none;
  }
  .about-us ul > li > h6{
     font-size: 18px;
     margin-bottom: 0.2rem;
  }
  .about-us ul > li p{
     font-size: 13px;
     color: #575757;
  }
  .about-us ul > li span{
     right: 1rem;
     font-size: 15px;
     transform: translate(50% ,-80%);
}
  .double-down {
    right: 45%;
    bottom: 4px;
    transform: translateX(-50%) translateY(0);
    width: 35px;
}



  .about-img-box .play-content .video-popup {
    width: 55px;
    height: 55px;}
.description{
  padding-top: 0 !important;
}
nav .btn{
  margin-right: 15px;
    border: 1px solid;
    padding-bottom: 0;
}
[dir="ltr"]  nav .btn {
      margin-left: 15px;
  }
}

@media(max-width:993px){
  .filter{
    display: none;
 }
#filter{
    display: block;
 }
 .about-content-box{
  width: 90%;
   margin: auto;
  margin-top: 1rem;

}
.service-detail .carousel-item{
  height: 200px;
}
}

@media (min-width: 567px) {
  .modal-dialog {
      max-width: 800px;
  }
 
}