
    
.hero_main {
    position: relative;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: white; */
    /* Adjust text color based on your design */
}

.content {
    position: relative;
    z-index: 1;
    /* text-align: center; */
    /* Adjust text alignment as needed */
    /* padding: 20px; */
    /* Add any other styling needed */
    /* make error in contact us */
}


/* form */



.swiper-container {
    width: 100%;
    height: auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* updated */
.site-header {
    background-color: white;
    /* Header background color */
   
    border-bottom: 1px solid #ddd;
    /* Optional, for a bottom border */
   
}

.contain {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    /* Adjust based on your design */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;  
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    /* Adjust based on your design */
    margin: 0 auto;
    padding: 0 20px;
}

.main-nav .nav-menu {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-menu li {
    display: inline-block;
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 30px;
    color: #000;
}
.main-nav {
    display: flex;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    /* Space between menu items */
}

.nav-menu li a {
    text-decoration: none;
    color: #001f3f;
    font-weight: bold;
    padding: 1px 16px;  
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #007bff;
    /* Change color on hover */
}


/* header responsive */

/* Hide the menu on small screens */
@media screen and (max-width: 768px) {
    .main-nav .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100px; /* Adjust to match your layout */
        left: 0;
        right: 0;
        background-color: #fff; /* Adjust background */
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999; /* Ensures the menu appears above other content */
    }

    .nav-menu.show {
        display: flex;
    }

    .menu-icon {
        display: block;
    }

    .nav-menu li {
        padding: 10px 0;
    }

    .nav-menu a {
        display: block;
        padding: 10px;
        font-size: 18px;
        color: #333; /* Adjust text color */
    }

    .nav-menu a:hover {
        background-color: #f0f0f0;
    }
}

/* updated */


/*  */
.video-container {
    position: relative;
    display: block;
    width: 100%;
}

.banner-video {
    display: block;
    width: 100%;
    height: auto;
}


.media img {
    width: 100%; /* Ensure images fit within their containers */
    height: auto;
}

/* responsive banner */
   /* Media query for smaller screens */
   @media screen and (max-width: 768px) {
        .slide-image {
            height: 150px;
        }

        .title {
            font-size: 14px;
        }
      
    }

    @media screen and (max-width: 480px) {
        .slide-image {
            height: 100px;
        }

        .title {
            font-size: 24px;
        }
        
    }
/* end */

/* UPDATED */
/* arrow for list */
.achievements {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.achievements_item {
    display: flex;
    align-items: center; /* Center items vertically */
    margin-bottom: 10px; /* Space between list items */
}

.achievements_item i {
    margin-right: 10px; /* Space between icon and text */
    color:white; /* Icon color */
    font-size: 1.2em; /* Adjust icon size as needed */
}

.achievements_item .label {
    font-size: 1em; /* Adjust text size as needed */
}


/* new */
.hero-heading {
font-family: 'Arial', sans-serif; /* Choose your desired font */
font-size: 24px; /* Adjust the size of the heading */
font-weight: bold; /* Make the text bold */
text-align: center; /* Center the text */
margin-bottom: 15px; /* Space between the heading and the image */
color: #333; /* Set the color of the heading */
}

.row {
margin-bottom: 30px; /* Space between rows */
}

/* footer */

.footer_main-block_images {
display: flex;
justify-content: center;
gap: 15px; /* Space between images */
margin-top: 20px;
}

.footer-image {
max-width: 100%;
height: auto;
border-radius: 5px; /* Optional: Adds rounded corners to images */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}

/* translate */

#google_translate_element {
   
    text-align: right; /* Align the widget to the right for Arabic */
    direction: rtl; /* Ensure proper direction for Arabic */
}

.goog-te-banner-frame.skiptranslate {
    display: none !important; /* Hide the Google Translate toolbar */
}

#google_translate_element .goog-te-gadget-simple span {
    font-size: 18px; /* Adjust the size as needed */
    font-weight: bold; /* Optional: Make it bold */
}


.goog-te-gadget-simple {
    background-color: #FFF;
    border-left:none !important;
    border-top:none !important;
    border-bottom: none !important;
    border-right: none !important;
    font-size: 18px;
    display: inline-block;
    padding-top: 1px;
    padding-bottom: 2px;
    cursor: pointer;
    
}

.goog-te-gadget img {
    vertical-align: middle;
    display: none;
}
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    display: inline-block;
    text-align: center;
}

element {
    border-left: none; /* Remove the left border */
  }

 #google_translate_element span[style*='border-left'] {
    border-left: none !important;
}



.logo img {
    max-width: 100px;
    height: auto;
    width: auto;
}
.language-switch {
  
    align-items: center; /* Aligns text and image vertically */
    margin-left: 10px;
    text-decoration: none;
  }
  
  li {
    list-style-type: none; /* Removes default list styling */
}

.language-switch {
    display: flex; /* Align flag and text horizontally */
    align-items: center; /* Vertically align flag and text */
    text-decoration: none;
    margin-bottom: 10px; /* Space between the two language options */
    font-family: Arial, sans-serif;
   
    color: #000; /* Adjust text color */
}

.language-switch img {
    width: 20px; /* Adjust flag size */
    height: auto;
    margin-right: 8px; /* Space between flag and text */
}
  
div:has(select) + div {
    display: none;
}


  /* updated gallery */

  
  .grid-container {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.column {
  flex: 20%;
  max-width: 25%;
  padding: 5px 8px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

@media (max-width: 1200px) {
  .column {
    flex: 40%;
    flex-wrap: wrap;
    max-width: 50%;
  }
}

@media (max-width: 600px) {
  .column {
    flex: 50%;
    max-width: 100%;
  }
} 
/* updated form */

/* Modal styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 70%;
    top: 60%;
    transform: translate(-50%, -50%);
    width: 90%; /* Reduced from 90% */
    max-width: 500px; /* Reduced max-width */
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none; /* Hidden by default */



}

.modal-content {
    max-height: 80vh; /* 80% of viewport height */
    overflow-y: auto; /* Add scroll if content exceeds height */
    padding: 20px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    box-sizing: border-box;
}
@media (max-width: 480px) {
    .modal {
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 0;
        height: auto;
        max-height: 90vh;
    }

    .modal-content {
        padding: 10px;
    }

    .modal-content h2 {
        font-size: 14px; /* Further reduced heading size */
    }

    .close {
        font-size: 18px; /* Further reduced close button size */
        margin-right: -6px; /* Adjusted margin for positioning */
        margin-top: -10px; /* Adjusted margin for positioning */
    }

    input, textarea {
        font-size: 10px; /* Further reduced input text size */
        padding: 5px; /* Smaller padding */
    }

    input::placeholder,
    textarea::placeholder {
        font-size: 9px; /* Further reduced placeholder font size */
    }

    button {
        padding: 6px 12px; /* Further reduced button padding */
        font-size: 10px; /* Smaller button text size */
    }
}
/* Close button styles */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
}

/* Ensure the form buttons stay at the bottom */
button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
}

/* Adjust for mobile responsiveness */
@media (max-width: 600px) {
    .modal {
        width: 95%; /* Make sure the modal fits better on smaller screens */
        height: auto;
        max-width: none;
    }
}

/* video heading newly */


.video-content h1 {
    font-size: 48px; /* Default size for large screens */
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

/* Responsive font adjustments */
@media (max-width: 1200px) {
    .video-content h1 {
        font-size: 42px; /* Slightly smaller on medium-large screens */
    }
}

@media (max-width: 992px) {
    .video-content h1 {
        font-size: 36px; /* Adjusted size for tablets and small laptops */
    }
}

@media (max-width: 768px) {
    .video-content h1 {
        font-size: 30px; /* Further reduction for tablets */
    }
}

@media (max-width: 480px) {
    .video-content h1 {
        font-size: 24px; /* Smaller size for mobile screens */
    }
}

@media (max-width: 360px) {
    .video-content h1 {
        font-size: 20px; /* For very small devices */
    }
}




/* button  newly*/

.buttons-container {
    margin-top: 20px;
    display: flex;
    gap: 10px; /* Space between buttons */
    justify-content: flex-start; /* Align buttons horizontally */
    flex-wrap: nowrap; /* Prevent buttons from wrapping to the next line */
}

.buttons-container a.btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 3px;
    text-align: center;
    transition: background-color 0.3s ease;
    flex: 0 1 auto; /* Keep buttons responsive while staying on one line */
    max-width: 250px; /* Limit max width */
}

/* Change background for the second button */
.buttons-container a.btn:nth-child(2) {
    background-color: #28a745;
}

/* Hover effects */
.buttons-container a.btn:hover {
    background-color: #0056b3;
}

.buttons-container a.btn:nth-child(2):hover {
    background-color: #218838;
}

/* Media queries to reduce button size on smaller screens */
@media (max-width: 768px) {
    .buttons-container a.btn {
        padding: 8px 16px; /* Reduce padding on medium screens */
        font-size: 13px; /* Slightly smaller font size */
    }
}

@media (max-width: 480px) {
    .buttons-container a.btn {
        padding: 6px 12px; /* Reduce padding on smaller screens */
        font-size: 12px; /* Smaller font size for mobile */
        max-width: 150px; /* Limit button width on mobile */
    }
}



/* newly slideing heading */

.slide .media {
    text-align: center; /* Centers all content inside .media */
}

.slide h2 {
    text-align: left; /* Ensures the heading is centered */
    margin-bottom: 15px; /* Adds space between heading and image */
    font-size: 20px;
}

/* button  */

button {
    z-index: 1001; /* Ensure buttons are above Swiper */
    position: relative; /* Ensure the z-index applies */
    
  }
  button {
    pointer-events: auto; /* Ensure buttons can be clicked */
  }
  
/* heading of sliding services below banner */

    /* Default styles for h2 and h4 */
    .heads {
        font-size: 15px; /* Adjust the size as needed */
        text-align: left; /* Align text to the left */
        margin-bottom: 15px; /* Margin below the heading */
    }

    .titles {
        color: black; /* Text color */
        text-align: center; /* Centered text */
        margin-top: 10px; /* Margin above the title */
        font-size: 18px; /* Adjust the size as needed */
    }

    /* Media query for smaller screens */
    @media (max-width: 600px) {
        .heads {
            font-size: 16px; /* Smaller size for h2 on smaller screens */
        }
        .titles{
            font-size: 14px; /* Smaller size for h4 on smaller screens */
        }
    }




/* sister */

.sister-companies {
    margin: 50px 0;
  }
  
  .sister-companies-header {
    display: flex;
    align-items: center;
  }
  
  .sister-companies h2 {
    font-size: 36px;
    margin-right: 50px; /* Space between the heading and boxes */
  }
  
  .sister-companies h2 span {
    color: #00A859; /* Green color */
  }
  
  .companies-boxes {
    display: flex;
    gap: 30px;
  }
  
  .company-box {
   
    padding: 20px;
    background-color: #fff;
    text-align: center;
    width: 300px; /* Increased width */
    height: 200px; /* Increased height */
 
    justify-content: center;
    align-items: center;
  }
  
  .company-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  @media (max-width: 768px) {
    .sister-companies-header {
      flex-direction: column; /* Stack heading and boxes vertically */
      text-align: center;
    }
  
    .sister-companies h2 {
      margin-right: 0;
      margin-bottom: 20px; /* Add some space below the heading */
    }
  
    .companies-boxes {
      flex-direction: column; /* Stack boxes vertically on small screens */
      gap: 20px; /* Reduce the gap between boxes */
    }
  
    .company-box {
      width: 100%; /* Make the boxes take full width on smaller screens */
      height: auto; /* Adjust height to fit the content */
    }
  }