/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Muli:wght@300;400;500;600;700;800;900&family=Montserrat:wght@500;600;700&family=Raleway:wght@700&family=Open+Sans:wght@400;600&display=swap");

/* CSS Variables for consistent theming */
:root {
  --primary-color: #09cc7f;
  --dark-color: #16161a;
  --light-gray: #f7f7fd;
  --white: #ffffff;
  --text-color: #072366;
  --footer-bg: #2d3544;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
body {
  font-family: "Tahoma", Arial, sans-serif;
  direction: rtl;
  text-align: right;
  margin: 0;
  padding: 0;
  color: var(--text-color);
}

/* Utility Classes */
.white-bg {
  background: var(--white);
}

.gray-bg {
  background: var(--light-gray);
}

.theme-bg {
  background: var(--primary-color);
}

.white-color {
  color: var(--white);
}

.theme-color {
  color: var(--primary-color);
}

/* Header Styles */
.header-area {
  background: var(--white);
}

.header-area .header-top {
  padding: 12px 130px; /* Slightly increased padding for better spacing */
  border-bottom: 1px solid #f0f1f2;
  background: var(--light-gray); /* Subtle background to differentiate header */
}

@media (max-width: 1600px) {
  .header-area .header-top {
    padding: 12px 30px;
  }
}

@media (max-width: 1199px) {
  .header-area .header-top {
    padding: 12px 15px;
  }
}

@media (max-width: 991px) {
  .header-area {
    box-shadow: 0 10px 15px rgba(25, 25, 25, 0.1);
  }
  .header-area .header-top {
    padding: 12px 50px;
  }
}

@media (max-width: 767px) {
  .header-area .header-top {
    padding: 12px 20px;
  }
}

@media (max-width: 575px) {
  .header-area .header-top {
    padding: 12px 10px; /* Adjusted for smaller screens */
  }
}

.header-info-left > ul > li {
  color: var(--text-color); /* Darker color for better readability */
  display: inline-block;
  margin-right: 20px;
  padding-right: 20px;
  border-right: 2px solid var(--primary-color); /* More distinct border */
  font-size: 16px; /* Larger font size */
  font-weight: 600; /* Bolder text */
  line-height: 1.2;
  transition: var(--transition);
}

.header-info-left > ul > li:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.header-info-left > ul > li > a {
  color: var(--text-color);
  text-decoration: none;
  padding: 8px 12px; /* Added padding for better click area */
  border-radius: 4px; /* Subtle rounding */
  transition: var(--transition);
}

.header-info-left > ul > li > a:hover {
  background: var(--primary-color); /* Highlight on hover */
  color: var(--white);
}

.header-info-left .header-social > ul > li {
  display: inline-block;
}

.header-info-left .header-social > ul > li > a {
  color: #7b8693;
  font-size: 16px; /* Slightly larger icons */
  padding-left: 25px;
  transition: var(--transition);
}

.header-info-left .header-social > ul > li > a:hover {
  color: var(--primary-color);
}

.header-info-left .header-social > ul > li > a > i {
  transition: var(--transition);
}

.header-info-left .header-social > ul > li > a:hover > i {
  transform: rotateY(180deg);
}

/* Slider Area */
.slider-area {
  background: url(../img/logo.png) no-repeat center center/cover;
  position: relative;
}

.slider-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.slider-area .slider-active,
.slider-area .single-slider,
.slider-area .container,
.slider-area .row {
  position: relative;
  z-index: 2;
}

.slider-area .row {
  display: flex;
  justify-content: center;
  text-align: center;
}

.slider-area .col-xl-6 {
  max-width: 700px;
  margin: 0 auto;
}

.slider-area .hero__caption {
  padding: 40px 15px;
}

.slider-area .hero__caption span {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-transform: uppercase;
  display: inline-block;
}

.slider-area .hero__caption h1 {
  font-family: "Raleway", sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.2;
  text-transform: capitalize;
}

.slider-area .hero__caption p {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.slider-area .hero__btn .cal-btn {
  padding: 14px 32px; /* Increased padding for prominence */
  border-radius: 12px; /* More rounded corners */
  font-family: "Montserrat", sans-serif;
  font-size: 18px; /* Larger font size */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--white); /* Gradient background */
  color: var(--white);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Stronger shadow */
  animation: pulse 2s infinite; /* Subtle pulse animation */
}

.slider-area .hero__btn .cal-btn:hover {
  background:var(--light-gray); /* Reverse gradient on hover */
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
}

.slider-area .hero__btn .cal-btn:focus {
  outline: 3px solid var(--white); /* Stronger focus outline */
  outline-offset: 4px;
  background:var(--light-gray); /* Reverse gradient on hover */
}

.slider-area .hero__btn .cal-btn i {
  margin-right: 10px; /* Adjusted for RTL */
  font-size: 20px; /* Larger icon */
  transition: var(--transition);
}

.slider-area .hero__btn .cal-btn:hover i {
  transform: translateX(5px); /* More pronounced icon movement for RTL */
}

/* Pulse animation for button */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  }
}

.slider-height {
  height: 600px;
}

@media (max-width: 1199px) {
  .slider-height {
    height: 500px;
  }
  .slider-area .hero__caption h1 {
    font-size: 40px;
  }
}

@media (max-width: 991px) {
  .slider-height {
    height: 450px;
  }
  .slider-area .hero__caption h1 {
    font-size: 36px;
  }
  .slider-area .hero__caption p {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .slider-height {
    height: 400px;
  }
  .slider-area .hero__caption h1 {
    font-size: 32px;
  }
  .slider-area .hero__caption {
    padding: 30px 10px;
  }
}

@media (max-width: 575px) {
  .slider-height {
    height: 350px;
  }
  .slider-area .hero__caption h1 {
    font-size: 28px;
  }
  .slider-area .hero__caption p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .slider-area .hero__btn .cal-btn {
    padding: 10px 20px;
    font-size: 14px; /* Adjusted for mobile */
  }
}

/* Section Title */
.section-tittle {
  margin-bottom: 80px;
  padding-top: 80px;
  text-align: center;
}

@media (max-width: 575px) {
  .section-tittle {
    margin-bottom: 50px;
    text-align: right !important;
  }
}

.section-tittle span {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--primary-color);
  text-transform: capitalize;
  display: inline-block;
  letter-spacing: 0.05em;
}

@media (max-width: 575px) {
  .section-tittle span {
    font-size: 14px;
  }
}

.section-tittle h2 {
  font-family: "Raleway", sans-serif;
  font-size: 42px;
  color: var(--text-color);
  font-weight: 800;
  text-transform: capitalize;
  line-height: 1.4;
}

@media (max-width: 1199px) {
  .section-tittle h2 {
    font-size: 41px;
  }
}

@media (max-width: 767px) {
  .section-tittle h2 {
    font-size: 31px;
  }
}

@media (max-width: 575px) {
  .section-tittle h2 {
    font-size: 27px;
    text-align: right;
  }
}

/* Cases/Projects Section */
.our-cases-area .single-cases {
  margin-bottom: 30px;
  text-align: right;
  height: 100%;
}

.our-cases-area .cases-img {
  overflow: hidden;
  border-radius: 6px;
  height: 250px;
  width: 100%;
}

.our-cases-area .cases-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.single-cases:hover .cases-img img {
  transform: scale(1.05);
}

/* Footer Area */
.footer-wrapper {
  background: url(../img/footer_bg.png) no-repeat center center/cover;
}

.footer-area {
  padding: 160px 0 120px;
}

@media (max-width: 991px) {
  .footer-area {
    padding: 100px 0 70px;
  }
}

@media (max-width: 767px) {
  .footer-area {
    padding: 80px 0 70px;
  }
}

@media (max-width: 575px) {
  .footer-area {
    padding: 80px 0 0;
  }
}

.footer-tittle h4 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 29px;
  font-weight: 400;
  text-transform: capitalize;
}

.footer-tittle p,
.footer-tittle ul li a {
  color: #868c98;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.footer-tittle ul li {
  margin-bottom: 16px;
}

.footer-tittle ul li a:hover {
  color: var(--primary-color);
  padding-right: 5px;
}

.footer-bottom-area {
  border-top: 1px solid var(--footer-bg);
  padding: 33px 0 20px;
}

.footer-copy-right p {
  color: #888888;
  font-weight: 300;
  font-size: 16px;
  line-height: 2;
  margin-bottom: 12px;
}

.footer-copy-right p a {
  color: var(--primary-color);
}

.footer-copy-right p a:hover {
  color: var(--white);
}

/* Scroll Up */
#back-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
}

#back-top a {
  color: var(--primary-color);
  font-size: 24px;
  transition: var(--transition);
}

#back-top a:hover {
  color: #008c5a;
}

@keyframes zoom {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}