:root {
  --main-color: #eeeeee;
  --secondry-color: #021919;
  --text-color: #777;
  --accent-color: #b0c4c7;
  --highlight-color: #015b5b;
  --background-color: #f5f5f5;
  --border-color: #cccccc;
  --link-color: #028282;
  --hover-color: #0077b6; /* Adjusted hover color */
  --button-color: #017171;
  --button-text-color: #ffffff;
}

* {
  box-sizing: border-box;
}
body {
  font-family: "IBM Plex Sans Arabic";
  direction: rtl;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
}
.btn-oval {
  background-color: var(--button-color); /* Use your custom button color */
  color: var(--button-text-color); /* Use your custom button text color */
  border: none;
  padding: 10px 20px;
  border-radius: 30px; /* Oval shape */
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  outline: none; /* Remove outline on focus */
}

.btn-oval:hover {
  background-color: var(--hover-color); /* Change color on hover */
  transform: translateY(-3px); /* Lift slightly on hover */
}

.btn-oval:active {
  transform: translateY(1px); /* Press effect */
}
/* Navbar styles */
.navbar {
  background-color: var(--main-color); /* Use your custom main color */
  /* padding: 10px 20px; */
  width: 100%;
}

.navbar img {
  margin-right: 10px; /* Space between logo and links */
  height: 60px;
}

.navbar ul {
  margin: 0;
  padding: 0;
}

.navbar ul li {
  margin-left: 18px; /* Space between links */
}

.navbar ul li:first-child {
  margin-left: 0; /* No margin for the first link */
}

.navbar ul li a {
  color: var(--link-color); /* Use your custom link color */
  text-decoration: none;
  font-size: 18px; /* Increase font size for links */
  padding: 10px 15px; /* Adjust padding */
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: var(--hover-color); /* Change color on hover */
}

/* Call button styles */
.navbar button {
  background-color: var(--button-color); /* Use your custom button color */
  color: var(--button-text-color); /* Use your custom button text color */
  border: none;
  padding: 12px 24px; /* Adjust padding */
  border-radius: 30px; /* Oval shape */
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  font-size: 16px; /* Increase font size for the button */
  margin-left: 20px; /* Space between button and links */
}

.navbar button:hover {
  background-color: var(--hover-color); /* Change color on hover */
  transform: translateY(-3px); /* Lift slightly on hover */
}

.navbar button:active {
  transform: translateY(1px); /* Press effect */
}

.header {
  position: relative;
  overflow: hidden;
  height: 720px; /* Adjust as needed */
  width: 100%;
}

.header-image {
  position: relative; /* Ensure image container is relatively positioned */
}

.header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  direction: rtl; /* Image direction from right to left */
}

.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: right; /* Text alignment right-to-left */
  color: #fff;
  padding: 20px;
  max-width: 600px;
}

.header-content h1,
.header-content h3,
.header-content p {
  position: relative; /* Ensure text is positioned relative to its container */
  z-index: 1; /* Ensure text is above the image */
}

.header-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.header-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.header-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.buttons {
  text-align: center;
}

.button {
  display: block;
  width: 200px;
  padding: 10px 20px;
  margin: 10px auto;
  background-color: #017171; /* Button color */
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #026b6b; /* Hover color */
}

h1 {
  font-size: 32px;
  text-align: right;
  margin-bottom: 20px;
  padding: 2%;
}

.highlight {
  color: var(--hover-color);
}

.buttons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh; /* Adjust if you want the buttons in the center of the viewport */
}

.button {
  display: inline-block;
  background-color: var(--button-color);
  color: var(--button-text-color);
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between; /* Distribute columns evenly */
  margin-top: 5%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.col {
  flex: 1 0 calc(25% - 20px); /* Four columns per row with gap */
  max-width: calc(25% - 20px);
}

.box {
  background-color: var(--main-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: right;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
  transform: translateY(-5px); /* Example animation: move up on hover */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Example animation: shadow change on hover */
}

.icon {
  font-size: 24px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.box:hover .icon {
  color: var(--hover-color); /* Example animation: color change on hover */
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--secondry-color);
  transition: color 0.3s ease;
}

.box:hover h3 {
  color: var(--hover-color); /* Example animation: color change on hover */
}

p {
  font-size: 1rem;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.box:hover p {
  color: var(--hover-color); /* Example animation: color change on hover */
}

@media (max-width: 768px) {
  .col {
    flex-basis: calc(50% - 20px); /* Two columns per row on smaller screens */
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .col {
    flex-basis: 100%; /* One column per row on mobile screens */
    max-width: 100%;
  }
}

.button:hover {
  transform: translateY(-5px);
  background-color: var(--hover-color);
}

@media screen and (max-width: 768px) {
  .header-content {
    text-align: right;
  }
}

.content-container {
  max-width: 100%;
  padding: 20px;
}

.content-row {
  display: flex;
  flex-wrap: wrap;
}

.content-column {
  flex: 1;
  padding: 10px;
}

.content-column-left {
  order: 2; /* Change order to start from the right on mobile */
  text-align: right; /* Align text to the right for Arabic */
}

.content-column-right {
  order: 1; /* Change order to display image first on mobile */
  text-align: center;
}

.content-container h2 {
  margin-bottom: 10px;
}

.content-container p {
  margin-bottom: 20px;
}

.call-button {
  display: block;
  width: 150px;
  padding: 10px;
  background-color: var(--button-color);
  color: var(--button-text-color);
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.call-button:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .content-row {
    flex-direction: column-reverse; /* Reverse order for mobile */
  }

  .content-column {
    order: 0;
    width: 100%;
    text-align: center;
  }

  .content-column-left,
  .content-column-right {
    order: 0;
  }
}
.black-section {
  background-color: #000000; /* Black background color */
  padding: 20px;
}

.custom-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.custom-column {
  flex: 1;
  margin: 10px;
  padding: 20px;
  background-color: #1a1a1a; /* Darker background color for columns */
  border: 2px solid #ffffff; /* White border */
  border-radius: 10px; /* Rounded corners */
  text-align: right; /* Align text and content to the right */
}

.custom-column img {
  max-width: 100%;
  height: auto;
  border-radius: 10px; /* Rounded corners for images */
  margin-bottom: 10px;
}

.custom-column h3 {
  color: #ffffff; /* White text color */
  margin-bottom: 10px;
  text-align: right; /* Align heading to the right */
}

.custom-column p {
  color: #cccccc; /* Light text color */
  font-size: 14px;
  line-height: 1.6;
  text-align: right; /* Align paragraph to the right */
}

@media (max-width: 768px) {
  .custom-row {
    flex-direction: column;
  }
}

.top-bar-section {
  background-color: var(--primary-color);
  color: var(--black-color);
  padding: 20px;
  direction: rtl; /* Right-to-left direction */
}

.top-bar {
  display: flex;
  justify-content: flex-start; /* Align links to the left */
  gap: 20px; /* Space between links */
  overflow-x: auto; /* Allow horizontal scroll on small screens */
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color); 
}

.top-link {
  flex: 1; /* Each link takes equal width */
  text-align: center; /* Center text */
  position: relative;
  padding: 5px 0; /* Add padding for touch devices */
}

.top-link a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  display: block;
  font-size: 1.2rem; /* Increase font size */
  padding: 10px 0;
  position: relative;
  transition: color 0.3s ease; /* Smooth color transition */
}

.top-link a:hover {
  color: var(--secondary-color); /* Change color on hover */
}

.top-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px; /* Increase height for better visibility */
  background-color: var(--secondary-color);
  transition: width 0.3s ease; /* Smooth width transition */
}

.top-link:hover::before {
  width: 100%; /* Expand line on hover */
}

.top-link.active::before {
  width: 100%; /* Full width for active link */
}

.tab-content {
  display: none;
  padding: 20px 0; /* Add padding for spacing */
}

.tab-content.active {
  display: block;
}

.content {
  display: flex;
  align-items: center;
  padding: 20px; /* Add padding for spacing */
  border: 1px solid var(--secondary-color); /* Add a border for a more defined look */
  border-radius: 10px; /* Round the corners */
  background-color: #fff; /* Add a background color */
}

.content .left {
  flex: 1;
  max-width: 50%; /* Ensure left image takes up to half the width */
  padding-right: 20px; /* Add padding to the right for spacing */
}

.content .left img {
  max-width: 100%;
  height: auto;
  border-radius: 10px; /* Round the corners of the image */
}

.top-bar-section {
  background-color: var(--main-color);
  color: black;
  padding: 20px;
  direction: rtl; /* Right-to-left direction */
}

.top-bar {
  display: flex;
  justify-content: flex-start; /* Align links to the left */
  gap: 10px; /* Space between links */
  overflow-x: auto; /* Allow horizontal scroll on small screens */
}

.top-link {
  flex: 1; /* Each link takes equal width */
  text-align: center; /* Center text */
  position: relative;
}

.top-link a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  display: block;
  padding: 10px 0;
  position: relative;
}

.top-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--hover-color);
  transition: width 0.3s ease; /* Smooth width transition */
}

.top-link:hover::before,
.top-link.active::before {
  width: 100%; /* Expand line on hover and active */
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  padding: 20px 0; /* Add padding for spacing */
}

.content {
  display: flex;
  align-items: center;
  padding: 20px; /* Add padding for spacing */
  border: 1px solid var(--secondary-color); /* Add a border for a more defined look */
  border-radius: 10px; /* Round the corners */
  background-color: #fff; /* Add a background color */
}

.content .left {
  flex: 1;
  max-width: 50%; /* Ensure left image takes up to half the width */
  padding-right: 20px; /* Add padding to the right for spacing */
}

.content .left img {
  max-width: 100%;
  height: auto;
  border-radius: 10px; /* Round the corners of the image */
}

.content .right {
  flex: 2;
  padding: 0 20px;
}

.content .right h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.content .right p {
  font-size: 1.2rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .top-bar {
    flex-wrap: nowrap; /* Prevent wrapping */
    justify-content: flex-start; /* Align links to the left */
    gap: 10px; /* Reduce gap for smaller screens */
  }

  .top-link {
    flex: 1; /* Links take equal width */
  }

  .content {
    flex-direction: column; /* Stack content vertically on smaller screens */
  }

  .content .left,
  .content .right {
    width: 100%; /* Full width for content */
    padding: 10px 0; /* Add padding for spacing */
  }

  .content .left {
    padding-right: 0; /* Remove right padding */
  }
}

.text-display {
  text-align: justify;
}

.section-title {
  padding: 3%;
}

.text-display {
  text-align: justify;
}

.color-h2 {
  color: var(--secondary-color);
}

.section-title {
  padding: 3%;
}
.custom-column {
  margin: 0 10%;
  text-align: right;
}
.custom-column img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}
.custom-column h2 {
  margin-bottom: 0.5rem;
}
.custom-column p {
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .custom-row {
    flex-direction: column;
  }
  .custom-column {
    width: 80%;
    margin: 10% auto;
    text-align: center;
  }
}
.bg-section {
  background-color: var(--sixth-color);
}

.custom-column {
  margin: 20px;
  text-align: right;
  background-color: #021919;
  padding: 20px;
  border: 2px solid #1abc9c;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.custom-column h2 {
  margin-bottom: 0.5rem;
  color: #1abc9c;
  font-size: 24px;
}

.custom-column p {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 18px;
}

.custom-column img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .custom-column {
    width: calc(100% - 40px);
    margin: 10px;
  }
}
.section-new {
  padding: 20px;
}

.row-new {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align items to the top of the columns */
  flex-wrap: wrap; /* Allow content to wrap on smaller screens */
}

.column-left {
  flex: 1;
  padding: 10px;
  background-color: #f5f5f5; /* Light background color for left column */
  border: 1px solid #cccccc; /* Border for left column */
  border-radius: 10px; /* Rounded corners */
  text-align: right; /* Align text to the right */
}



.contact-box-new {
  padding: 30px;
  text-align: center;
  border: 1px solid var(--button-color);
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box-new h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-grid-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 20px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
}

.contact-grid-new a {
  display: block;
  width: 100%;
  height: 50px;
  line-height: 50px;
  color: var(--main-color);
  text-align: center;
  text-decoration: none;
  border-radius: 25px;
  font-size: var(--font-size-large);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.contact-grid-new a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-grid-new a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-grid-new a:hover::before {
  opacity: 1;
}

.map-container-new {
  margin-bottom: 10px;
}

.location-text-new {
  font-size: var(--font-size-small);
  color: #777;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-grid-new {
    grid-template-columns: 1fr; /* Single column on smaller screens */
    gap: 10px;
    padding: 0;
  }

  .contact-grid-new a {
    font-size: 16px;
    height: 40px;
    line-height: 40px;
  }
}


.column-right {
  flex: 1;
  padding: 10px;
  text-align: right; /* Align text to the right */
}

.column-right img {
  max-width: 100%;
  height: auto;
  border-radius: 10px; /* Rounded corners for image */
  margin-bottom: 10px;
}

.column-right h3 {
  margin-bottom: 10px;
}

.column-right p {
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .row-new {
    flex-direction: column;
  }

  .column-left,
  .column-right {
    flex: 1;
    width: 100%;
    margin-bottom: 20px;
  }
}
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
.og-blog-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.og-blog-item {
  width: calc(25% - 20px); /* Adjust width as needed */
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.og-blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.og-blog-item img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #e0e0e0;
  transition: transform 0.3s ease;
}

.og-blog-item:hover img {
  transform: scale(1.1);
}

.blog-content {
  padding: 20px;
}

.blog-content h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-content a {
  color: #017171;
  text-decoration: none;
  display: inline-block;
}

.arrow-icon {
  margin-left: 5px;
}

@media (max-width: 768px) {
  .og-blog-item {
    width: calc(50% - 20px); /* Two items per row on smaller screens */
  }
}

.h2- {
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .OG-blog-item {
    width: calc(
      50% - 20px
    ); /* Adjusted width for 2 items per row on medium screens */
  }
}

.icon img {
  width: 30px;
  height: 30px;
}
.paragraph- {
  text-align: justify;
  margin-top: 15px;
}
.call-button a {
  text-decoration: none;
  color: white;
  font-size: medium;
}
.black-section p {
  text-align: justify;
}
.paragraph {
  text-align: justify;
}
/* Ensure footer is hidden by default */
/* .footer {
  display: none;
} */

/* Media query for mobile devices */
/* Media query to apply styles only on mobile screens */
@media (max-width: 768px) {
  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f7b731; /* Yellow background */
    text-align: center;
    z-index: 999;
  }

  .phone-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px 0;
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    background-color: #f7b731; /* Yellow background */
    border: none;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .phone-button:hover {
    background-color: #e5a419; /* Darker yellow on hover */
  }

  .phone-button svg {
    margin-right: 10px;
  }
}
.dropdown-item {
  text-align: right;
}
@media (min-width: 769px) {
  .hide {
    display: none;
  }
}
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
}
.contact-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 20px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
}

.contact-row a {
  text-decoration: none;
  color: var(--link-color);
  background-color: var(--highlight-color);
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.contact-row a:hover {
  background-color: var(--hover-color);
  color: var(--button-text-color);
}

@media (max-width: 600px) {
  .contact-grid-new {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .contact-row {
    flex-direction: column;
    align-items: center;
  }

  .contact-row a {
    margin-bottom: 10px;
    width: 100%;
  }
}
