* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}body {
  font-family: 'Cairo', sans-serif; 
  background-color: #d3c7c7; 
  color: #ffffff;
  direction: rtl; 
  text-align: right;
  height: 100vh;
  display: contents;
  justify-content: center;
  align-items: center;
}


.licon {
  margin: 0 auto; 
  display: flex; /* Use flexbox to align items */
  justify-content: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
  background-color: #001F3F; /* White background */
  position: fixed;
  padding: 10px 20px; /* Padding for the header */
  box-shadow: 0 2px 5px rgba(0, 255, 81, 0.1); /* Subtle shadow */
  position: relative; /* Positioning context for absolute elements */
  justify-content: space-between; /* Space between search box and nav */
  border-bottom: 3px #ffea00 solid;
}
.licon h1{
  font-size:x-large;
  font-weight: bold;
  align-items: center;
}
.logo {
  width: 80px; /* Set the size of the logo */
  height: auto; /* Maintain aspect ratio */
  margin-right: 10px; /* Space between logo and text */
}

/* header */

header {
  direction: ltr;
  margin: 0 auto; /* Center the header */
  background-color: #3A6D8C; /* White background for the header */
  padding: 10px 20px; /* Padding for the header */
  box-shadow: 0 2px 5px rgba(9, 255, 0, 0.1); /* Subtle shadow */
  position: relative; /* Positioning context for absolute elements */
  display: flex; /* Align children in a row */
  justify-content: space-between; /* Space between search box and nav */
  align-items: center; /* Center items vertically */
}
.search_box {
  display: flex; /* Align items in a row */
  align-items: center; /* Center items vertically */
  flex-grow: 1; /* Allow search box to grow */
  margin-right: 20px;
}
#search_input {
  flex: 1; /* Allow the input to take up available space */
  padding: 10px; /* Padding inside the input */
  border: 1px solid #e5ff00; /* Border style */
  border-radius: 4px; /* Rounded corners */
  font-size: 14px; /* Font size */
  transition: border 0.3s; /* Smooth transition for border */
}
#search_input:focus {
  border: 1px solid #ffea00; /* Change border color on focus */
  outline: none; /* Remove outline */
}
#search_icon {
  cursor: pointer; /* Change cursor to pointer on hover */
  margin-left: -30px; /* Overlap the icon on the input */
  color: #00ff40; /* Icon color */
  font-size: 18px; /* Icon size */
}
nav {
  display: flex; /* Align items in a row */
  justify-content: space-between; /* Space between nav items */
  align-items: center; /* Center items vertically */
}

nav ul {
  display: none; /* Hide navigation links on small screens */
  flex-direction: column; /* Stack links vertically */
  position: absolute; 
  height: auto;
  padding: 10px;
  text-align: center; /* Position the menu */
  top: 50px; /* Position below the toggle */
  right: 0; /* Align with the right edge */
  background-color: #EBD3F8; /* Background color for dropdown */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow effect */
  width: 20%; /* Full width of the dropdown */
  z-index: 1001;
  
}

li {
  margin: 0 15px; /* Space between menu items */
  position: relative; /* Position relative for dropdown */
  border-bottom: 3px solid #ffea00;
  padding: 10px;
  list-style-type: none; /* This removes the bullet points */

}
nav ul li a {
  list-style-type: none; /* This removes the bullet points */
    position: relative; /* Make the link relative to contain the pseudo-elements */
    text-decoration: none; /* Remove underline */
    color: #333; /* Initial color */
    transition: color 0.3s ease-in-out; /* Smooth transition for color */
}
nav ul li a::before,
nav ul li a::after {
        content: ''; /* Empty content for the pseudo-elements */
        position: absolute; /* Position them absolutely relative to the link */
        height: 3px; /* Line height */
        width: 0%; /* Initial width of the lines */
        background-color: #44ff00; /* Color of the lines */
        transition: width 0.3s ease-in-out; /* Smooth transition for width */
}

nav ul li a::before {
  top: 0; /* Position before element at the top of the link */
  left: 0; /* Start from the left */
}    
nav ul li a::after {
  bottom: 0; /* Position after element at the bottom of the link */
  right: 0; /* Start from the right */
}
nav ul li a:hover::before,
nav ul li a:hover::after {
  width: 100%; /* Expand the width to 100% on hover */
}
nav ul li a:hover {
  color: #ef0018; /* Change text color on hover */
} 
/* Menu toggle styles */
.menu-toggle {
  display: flex; /* Initially hidden */
  flex-direction: column; /* Stack the burger icons vertically */
  cursor: pointer; /* Change cursor to pointer on hover */
  z-index: 1000; /* Ensure it appears above other elements */
}   
.burger-icon {
  width: 25px; /* Width of each burger icon */
  height: 3px; /* Height of each burger icon */
  background-color: #000000; /* Color of the burger icons */
  margin: 3px 0; /* Spacing between icons */
  transition: background-color 0.3s ease; /* Smooth transition on hover */
}
nav.active ul {
  display: flex;
}
@media (max-width: 768px) {
     
  .menu-toggle {
      display: flex; /* Show menu toggle on small screens */
  }
 
  nav ul {
      display: none; /* Hide navigation links on small screens */
      flex-direction: column; /* Stack links vertically */
      position: absolute; 
      text-align: right; /* Position the menu */
      top: 50px; /* Position below the toggle */
      right: 0; /* Align with the right edge */
      background-color: #EBD3F8; /* Background color for dropdown */
      box-shadow: 0 2px 5px rgba(255, 0, 0, 0.2); /* Shadow effect */
      width: 100%; /* Full width of the dropdown */
  }

  nav.active ul {
      display: flex; /* Show the menu when active */
  }
}
/* Popup Menu Suggestions Styling */.suggestions {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background-color: #EBD3F8;
  border: 1px solid #e3e700;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1000;
  display: none;
  padding: 10px 0;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
}

.suggestions li {
  padding: 10px 15px;
  cursor: pointer;
  list-style-type: none;
  background-color: transparent;
  font-size: 14px;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.suggestions li:hover {
  background-color: #00ff2a;
  color: #fff;
}

/* Active Suggestions */
#search_input:focus + .suggestions {
  display: block;
}

/* header end */

   
.slider {
  position: relative;
  max-width: 100%;
  height: 77vh; /* Set height to 70% of viewport height */
  margin: auto;
  overflow: hidden;
}  
.slides {
  display: flex;
  height: 100%; /* Ensure slides take up full height of the .slider */
  transition: transform 0.5s ease-in-out;
}
/*  */
.slide {
  min-width: 100%;
  box-sizing: border-box;
  border: 3px #ccf500 solid;
  border-radius: 3%;
}

.slide img {
  width: 100%;
  height: 100%; /* Ensure images fill the slide container */
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: rgb(236, 236, 236);
  font-weight: bold;
  font-size: 24px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(158, 141, 141, 0.5);
  text-align: center;
}
.prev{
  left: 0;
}
.next{
  right: 0;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
@media (max-width: 768px) {
  .slider {
      height: 40vh; /* Full viewport height for phone screens */
  }

  .mainImgClass {
      height: 10vh; /* Adjust if necessary for better appearance on small screens */
  }

  .mainImgClass img {
      height: 10vh; /* Consistent with the height of .mainImgClass */
  }
}
/* end */
.text-card {
  border: 2px solid #ffff00; /* Green border */
  border-radius: 20px; /* Rounded corners */
  padding: 10px; /* Space inside the card */
  color: #000;
  margin: 2px; /* Space outside the card */
  text-align: center; /* Center the text */
  font-family: 'Amiri', serif; /* Use a suitable Arabic font */
  background-color: #bed2dc; /* Light background color */
}

.card-title {
  font-size: 24px; /* Title font size */
  margin-bottom: 10px; /* Space below the title */
  border-bottom:1.5px #e3e700 solid;
  padding-bottom: 10px;

}

.card-text {
  font-size: 16px; /* Text font size */
  margin-bottom: 15px; /* Space below the text */
  background-color: #e7e7e7; /* Light background color */
  border-bottom:1.5px #e3e700 solid;
}

.call-button {
  display: inline-block; /* Make the link behave like a button */
  padding: 10px 30px; /* Button padding */
  width: 80%;
  border: 2px #ffd900 solid;
  background-color: #ffffff; /* Button color */
  color: rgb(0, 0, 0); /* Button text color */
  text-decoration: none; /* Remove underline */
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s; /* Smooth hover effect */
}

.call-button:hover {
  background-color: #45a049; /* Darker green on hover */
}
/* end */

.card-container {
  display: grid;
  background-color: #6A9C89;
  grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
  gap: 10px; /* Space between cards */
  justify-content: center; /* Center the card container */
}
.card {
  border: 1px solid #821131; /* Overall border for the card */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 0;
  color: #000;
  background-color: #C4DAD2; /* Remove margin to reduce spacing */
  padding: 15px;
  max-width: 100%; /* Allow card to take full width */
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in the width */
}

.card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 3px solid #000000;
}

.card-image {
  width: 100%;
  height: 25vh; /* You can adjust this height as needed */
  border-radius: 12%;
}

.card-text {
  border-bottom: 2px solid #000000;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 15px 0;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
  align-items: center;
  justify-content: center;
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  height: auto;
}

.modal-content img {
  width: 100%;
  height: auto;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
} 

.card-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  border-top: 1px solid #821131; /* Top border for the footer */
  padding-top: 10px;
}

.like-button,
.visit-button {
  border: 1px solid #821131; /* Border for the buttons */
  background-color: white; /* Background color for buttons */
  color: #4CAF50; /* Text color */
  border-radius: 5px;
  padding: 8px 12px;
  cursor: pointer;
  flex: 1; /* Make buttons flexible to take equal space */
  margin: 0 5px; /* Add margin between buttons */
}

.like-button:hover,
.visit-button:hover {
  background-color: #4CAF50; /* Change background color on hover */
  color: white; /* Change text color on hover */
}

/* Responsive Styles */
@media (max-width: 900px) {
  .card-container {
      grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  }
}

@media (max-width: 600px) {
  .card-container {
      grid-template-columns: 1fr; /* 1 card per row */
  }
}
div.scroll-container {
  background-color: #ffffff;
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
}

div.scroll-container img {
  padding: 10px;
  height: 35vh;      /* Set the height to 30vh */
width: auto;       /* Maintain aspect ratio */
}    

.text-card1{
  background-color: #fae0e0;
  border-radius: 8px;
  color: #430000;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

div.scroll-container {
  background-color: #ffffff;
  overflow: auto;
  white-space: nowrap;
  border-radius: 3%;
  padding: 10px;
  border: 2px #e3f704 solid;
}

div.scroll-container img {
  padding: 10px;
  height: 45vh;   
  border-radius: 5%;   /* Set the height to 30vh */
width: auto;       /* Maintain aspect ratio */
}    
/* end */

.footer-section {
  background-color: #001F3F; /* Dark background color for the footer */
  color: #fff; /* White text color */
  padding: 40px 0; /* Padding for spacing */
  font-family: 'Arial', sans-serif; /* Font style */
}

.container {
  max-width: 1200px; /* Max width for the footer */
  margin: 0 auto; /* Center the container */
  padding: 0 20px; /* Padding for inner spacing */
}

.contact-info {
  display: flex; /* Use flexbox for alignment */
  justify-content: space-between; /* Space out items evenly */
  margin-bottom: 20px; /* Space below contact info */
}

.single-cta {
  display: flex; /* Flexbox for icon and text */
  align-items: center; /* Center align vertically */
}

.cta-text {
  margin-right: 10px; /* Space between text and icon */
}

.cta-text h4 {
  margin: 0; /* Remove margin */
  font-size: 16px; /* Font size for headings */
}

.cta-text span {
  font-size: 14px; /* Font size for details */
}

.social-media {
  text-align: center; /* Center align social media section */
  margin: 20px 0; /* Space above and below */
}

.social-media h1 {
  font-size: 20px; /* Font size for the heading */
  margin-bottom: 15px; /* Space below heading */
}

.btn {
  display: inline-block; /* Button style */
  background-color: #007bff; /* Button background color */
  color: #fff; /* Button text color */
  padding: 10px 15px; /* Padding for buttons */
  border-radius: 5px; /* Rounded corners */
  margin: 5px; /* Margin around buttons */
  text-decoration: none; /* Remove underline from links */
  transition: background-color 0.3s; /* Transition for hover effect */
}

.btn:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

  .cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
    gap: 20px;
    padding: 20px;
    margin-top: 20px;
}

.cardstit {
    background-color: #fae0e0;
    border-radius: 8px;
    color: #430000;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.text-card h1 {
  color: #430000;
}
.cardstit:hover {
    transform: scale(1.05);
}

.card-icon {
    font-size: 3em;
    color: #430000;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card-value {
    font-size: 2.2em;
    font-weight: bold;
    color: #3d0900;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on smaller screens */
    }
}

@media (max-width: 600px) {
    .cards-container {
        grid-template-columns: 1fr; /* 1 card per row on mobile screens */
    }

    h1 {
        font-size: 1.5em;
    }
}
.quick-links {
  margin-top: 30px; /* Space above quick links */
}

.quick-links h3 {
  font-size: 18px; /* Font size for links heading */
  margin-bottom: 15px; /* Space below heading */
}

.horizontal-list {
  list-style-type: none; /* Remove bullets */
   /* Remove padding */
}

.horizontal-list li {
  display: inline; /* Display links inline */
  margin: 0 10px; /* Space between links */
}

.horizontal-list a {
  color: #fff; /* Link color */
  text-decoration: none; /* Remove underline from links */
}

.horizontal-list a:hover {
  text-decoration: underline; /* Underline on hover */
}

.copyright-area {
  text-align: center; /* Center the copyright section */
  margin-top: 30px; /* Space above */
  border-top: 1px solid #444; /* Top border */
  padding-top: 15px; /* Space below border */
}

.copyright-text {
  font-size: 14px; /* Font size for copyright text */
}

.copyright-text a {
  color: #007bff; /* Link color in copyright */
  text-decoration: none; /* Remove underline */
}

.copyright-text a:hover {
  text-decoration: underline; /* Underline on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .contact-info {
      flex-direction: column; /* Stack items vertically on smaller screens */
      align-items: center; /* Center align items */
  }
  
  .single-cta {
      margin-bottom: 15px; /* Space below each CTA */
  }

  .social-media h1 {
      font-size: 18px; /* Adjust font size for mobile */
  }

  .btn {
      padding: 8px 10px; /* Adjust padding for buttons */
      font-size: 14px; /* Smaller font size for buttons */
  }

  .quick-links h3 {
      font-size: 16px;
  }

  .horizontal-list {
      display: flex; /* Flexbox for horizontal list */
      flex-wrap: wrap; /* Allow wrapping */
      justify-content: center; /* Center align list items */
  }

  .horizontal-list li {
      margin: 5px; /* Space between links */
  }
}

@media (max-width: 480px) {
  .footer-section {
      padding: 20px 0; /* Reduce padding on smaller screens */
  }

  .copyright-area {
      font-size: 12px; /* Smaller font size for copyright area */
  }
}


.floating-bar {
  position: fixed;
  bottom: 70px;
  width: 100%;
  pointer-events: none; /* Ensures that only the buttons are clickable */
}

.floating-button {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366; /* Default WhatsApp Green */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  pointer-events: auto; /* Enables the buttons to be clickable */
  cursor: pointer;
}

.floating-button img {
  width: 32px;
  height: 32px;
}

.floating-button.whatsapp {
  left: 20px; /* Floats on the left side */
  background-color: #25d366;
}

.floating-button.call-us {
  right: 20px; /* Floats on the right side */
  background-color: #007bff;
}

.floating-button:hover {
  transform: scale(1.1);
}

.gallery {
 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
  grid-gap: 10px;
  justify-items: center;
  padding: 5px;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin: 5px;
  border-radius: 3%;
  align-items: center;
  cursor: pointer;
}