/*===== GOOGLE FONTS =====*/
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Roboto:wght@300;400;500;700;900&display=swap');

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 4rem;

  /*========== Colors ==========*/
  --primary-color: #D32F2F;
  --primary-light: #EF5350;
  --primary-dark: #B71C1C;
  --dark-color: #212121;
  --dark-gray: #424242;
  --medium-gray: #757575;
  --light-gray: #F5F5F5;
  --white-color: #FFFFFF;
  --black-color: #000000;
  --accent-color: #1976D2;

  /*========== Font and typography ==========*/
  --body-font-ar: 'Cairo', sans-serif;
  --body-font-en: 'Roboto', sans-serif;
  --biggest-font-size: 3.5rem;
  --h1-font-size: 2.5rem;
  --h2-font-size: 2rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-black: 900;

  /*========== Margins ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  --mb-4: 4rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /*========== Transitions ==========*/
  --transition: all 0.3s ease;
}

/*========== Responsive typography ==========*/
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.688rem;
  }
}

/*========== BASE ==========*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font-ar);
  font-size: var(--normal-font-size);
  background-color: var(--white-color);
  color: var(--dark-gray);
  line-height: 1.7;
  transition: var(--transition);
}

body.en {
  font-family: var(--body-font-en);
}

h1, h2, h3, h4 {
  color: var(--dark-color);
  font-weight: var(--font-bold);
  line-height: 1.3;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
}

/*========== RTL SUPPORT ==========*/
html[dir="rtl"] {
  direction: rtl;
}

html[dir="ltr"] {
  direction: ltr;
}

/*========== REUSABLE CSS CLASSES ==========*/
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background-color: var(--dark-color);
  color: var(--white-color);
}

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

.section__header {
  text-align: center;
  margin-bottom: var(--mb-4);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: var(--font-semibold);
  margin-bottom: var(--mb-0-5);
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--dark-color);
  margin-bottom: var(--mb-1);
  line-height: 1.2;
}

.section--dark .section__title {
  color: var(--white-color);
}

.button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  font-weight: var(--font-semibold);
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--small-font-size);
}

.button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
}

/*========== HEADER & NAV ==========*/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--white-color);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  width: 140px;
  height: auto;
  filter: brightness(1.1);
}

.nav__list {
  display: flex;
  column-gap: 2rem;
  align-items: center;
}

.nav__link {
  color: var(--dark-gray);
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

html[dir="rtl"] .nav__link::after {
  left: auto;
  right: 0;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  background-color: var(--primary-color);
  color: var(--white-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--small-font-size);
  transition: var(--transition);
  cursor: pointer;
}

.lang-toggle:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

.nav__toggle,
.nav__close {
  display: none;
}

/*========== HOME ==========*/
.home {
  padding: 0;
  position: relative;
  height: 100vh;
  min-height: 600px;
}

.home__container {
  position: relative;
  height: 100%;
  width: 100%;
}

.home__slider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.home__slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.home__slide.active {
  opacity: 1;
}

.home__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(211,47,47,0.5) 100%);
  z-index: 1;
}

.home__content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 2;
}

.home__data {
  text-align: center;
}

.home__title {
  font-size: var(--biggest-font-size);
  color: var(--white-color);
  font-weight: var(--font-black);
  margin-bottom: var(--mb-1);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.home__subtitle {
  font-size: var(--h2-font-size);
  color: var(--white-color);
  font-weight: var(--font-semibold);
  margin-bottom: var(--mb-1);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.home__description {
  font-size: var(--h3-font-size);
  color: var(--white-color);
  margin-bottom: var(--mb-2-5);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.home__button {
  font-size: var(--normal-font-size);
  padding: 1.2rem 3rem;
}

.home__slider-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
}

.home__arrow {
  background-color: rgba(255,255,255,0.2);
  color: var(--white-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  cursor: pointer;
}

.home__arrow:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.home__slider-dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 1rem;
}

.home__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.home__dot.active,
.home__dot:hover {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/*========== ABOUT ==========*/
.about__container {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 4rem;
}

.about__image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.about__img {
  width: 100%;
  transition: var(--transition);
}

.about__image:hover .about__img {
  transform: scale(1.1);
}

.about__image-overlay {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(211,47,47,0.4);
}

html[dir="rtl"] .about__image-overlay {
  right: auto;
  left: 2rem;
}

.about__experience {
  text-align: center;
}

.about__experience-number {
  display: block;
  font-size: 3rem;
  color: var(--white-color);
  font-weight: var(--font-black);
  line-height: 1;
}

.about__experience-text {
  display: block;
  color: var(--white-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-semibold);
  margin-top: 0.5rem;
}

.about__content {
  padding: 1rem 0;
}

.about__description {
  margin-bottom: var(--mb-1-5);
  color: var(--medium-gray);
  text-align: justify;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: var(--mb-2);
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about__feature i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.about__feature span {
  color: var(--dark-gray);
  font-weight: var(--font-medium);
}

/*========== STATS ==========*/
.stats__container {
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.stats__item {
  text-align: center;
  padding: 2rem 1rem;
  background-color: rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: var(--transition);
}

.stats__item:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-10px);
}

.stats__icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.stats__content {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.stats__number {
  font-size: var(--biggest-font-size);
  color: var(--white-color);
  font-weight: var(--font-black);
  line-height: 1;
}

.stats__plus {
  font-size: var(--h2-font-size);
  color: var(--primary-color);
  font-weight: var(--font-black);
}

.stats__text {
  color: var(--white-color);
  margin-top: var(--mb-0-5);
  font-size: var(--normal-font-size);
}

/*========== SERVICES ==========*/
.services__container {
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service__card {
  background-color: var(--white-color);
  padding: 3rem 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.1);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}

html[dir="rtl"] .service__card::before {
  transform-origin: left;
}

.service__card:hover::before {
  transform: scaleX(1);
}

.service__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(211,47,47,0.2);
}

.service__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1-5);
  transition: var(--transition);
}

.service__card:hover .service__icon {
  transform: rotateY(360deg);
}

.service__icon i {
  font-size: 2.5rem;
  color: var(--white-color);
}

.service__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--dark-color);
}

.service__description {
  color: var(--medium-gray);
  margin-bottom: var(--mb-1-5);
  line-height: 1.6;
}

.service__link {
  color: var(--primary-color);
  font-weight: var(--font-semibold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.service__link:hover {
  gap: 1rem;
}

.service__link i {
  font-size: 0.875rem;
}

html[dir="rtl"] .service__link i {
  transform: rotate(180deg);
}

/*========== PROJECTS ==========*/
.projects__container {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project__card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  cursor: pointer;
}

.project__image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project__card:hover img {
  transform: scale(1.2);
}

.project__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition);
}

.project__card:hover .project__overlay {
  opacity: 1;
}

.project__content {
  width: 100%;
}

.project__title {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.project__category {
  color: var(--primary-light);
  font-size: var(--small-font-size);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.projects__button-container {
  text-align: center;
  margin-top: var(--mb-3);
}

/*========== TESTIMONIAL ==========*/
.testimonial {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  padding: 5rem 0;
}

.testimonial__container {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial__content {
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 4rem 3rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
}

.testimonial__quote {
  position: absolute;
  top: 2rem;
  right: 3rem;
  font-size: 5rem;
  color: rgba(255,255,255,0.1);
}

html[dir="rtl"] .testimonial__quote {
  right: auto;
  left: 3rem;
}

.testimonial__text {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  line-height: 1.8;
  margin-bottom: var(--mb-2-5);
  font-weight: var(--font-light);
  font-style: italic;
}

.testimonial__author-info {
  text-align: center;
}

.testimonial__author-name {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-25);
}

.testimonial__author-position {
  color: rgba(255,255,255,0.8);
  font-size: var(--normal-font-size);
}

/*========== CONTACT ==========*/
.contact__container {
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__info-item {
  display: flex;
  gap: 1.5rem;
  align-items: start;
}

.contact__info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white-color);
  flex-shrink: 0;
}

.contact__info-content {
  flex: 1;
}

.contact__info-title {
  font-size: var(--h3-font-size);
  color: var(--dark-color);
  margin-bottom: var(--mb-0-5);
}

.contact__info-text {
  color: var(--medium-gray);
  line-height: 1.8;
}

.contact__info-text a {
  color: var(--medium-gray);
  transition: var(--transition);
}

.contact__info-text a:hover {
  color: var(--primary-color);
}

.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.contact__social-link {
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.contact__social-link:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

.contact__form {
  background-color: var(--white-color);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.1);
}

.contact__form-title {
  font-size: var(--h2-font-size);
  color: var(--dark-color);
  margin-bottom: var(--mb-2);
  text-align: center;
}

.contact__form-group {
  position: relative;
  margin-bottom: var(--mb-2);
}

.contact__input {
  width: 100%;
  padding: 1.2rem 1rem;
  background-color: var(--light-gray);
  border-radius: 10px;
  color: var(--dark-gray);
  transition: var(--transition);
}

.contact__input:focus {
  background-color: var(--white-color);
  box-shadow: 0 0 0 2px var(--primary-color);
}

.contact__input:focus + .contact__label,
.contact__input:not(:placeholder-shown) + .contact__label {
  transform: translateY(-2.5rem);
  font-size: var(--smaller-font-size);
  color: var(--primary-color);
}

.contact__label {
  position: absolute;
  top: 1.2rem;
  left: 1rem;
  color: var(--medium-gray);
  transition: var(--transition);
  pointer-events: none;
}

html[dir="rtl"] .contact__label {
  left: auto;
  right: 1rem;
}

.contact__textarea {
  resize: vertical;
  min-height: 150px;
}

.contact__button {
  width: 100%;
  padding: 1.2rem;
  font-size: var(--normal-font-size);
}

.contact__form-message {
  text-align: center;
  margin-top: var(--mb-1);
  font-size: var(--small-font-size);
  display: none;
}

.contact__form-message.success {
  color: #4CAF50;
  display: block;
}

.contact__form-message.error {
  color: #f44336;
  display: block;
}

.contact__map {
  margin-top: var(--mb-4);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0,0,0,0.1);
}

/*========== FOOTER ==========*/
.footer {
  background-color: var(--black-color);
  padding: 4rem 0 2rem;
  color: var(--white-color);
}

.footer__container {
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: var(--mb-3);
}

.footer__logo-img {
  width: 180px;
  margin-bottom: var(--mb-1);
  filter: brightness(1.2);
}

.footer__description {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--mb-1-5);
  line-height: 1.8;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  transition: var(--transition);
}

.footer__social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: var(--white-color);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  display: inline-block;
}

.footer__link:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

html[dir="rtl"] .footer__link:hover {
  transform: translateX(-5px);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.footer__contact i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer__copy {
  color: rgba(255,255,255,0.6);
  font-size: var(--small-font-size);
}

/*========== SCROLL UP ==========*/
.scrollup {
  position: fixed;
  right: 2rem;
  bottom: -20%;
  background-color: var(--primary-color);
  opacity: 0.9;
  padding: 0.8rem;
  border-radius: 50%;
  z-index: var(--z-tooltip);
  transition: var(--transition);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

html[dir="rtl"] .scrollup {
  right: auto;
  left: 2rem;
}

.scrollup:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  opacity: 1;
}

.scrollup i {
  font-size: 1.5rem;
  color: var(--white-color);
}

.show-scroll {
  bottom: 3rem;
}

/*========== PAGE HERO ==========*/
.page-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
}

.page-hero__img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(211,47,47,0.6) 100%);
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero__title {
  font-size: var(--biggest-font-size);
  color: var(--white-color);
  font-weight: var(--font-black);
  margin-bottom: var(--mb-1);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-hero__subtitle {
  font-size: var(--h3-font-size);
  color: var(--white-color);
  font-weight: var(--font-light);
}

/*========== SERVICE DETAIL ==========*/
.service-detail__container {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 4rem;
}

.service-detail__image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-detail__image:hover img {
  transform: scale(1.1);
}

.service-detail__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--mb-1-5);
}

.service-detail__icon i {
  font-size: 2.5rem;
  color: var(--white-color);
}

.service-detail__title {
  font-size: var(--h1-font-size);
  color: var(--dark-color);
  margin-bottom: var(--mb-0-5);
}

.service-detail__subtitle {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  margin-bottom: var(--mb-1-5);
  font-weight: var(--font-semibold);
}

.service-detail__text {
  color: var(--medium-gray);
  margin-bottom: var(--mb-2);
  line-height: 1.8;
  text-align: justify;
}

.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-detail__list li {
  display: flex;
  align-items: start;
  gap: 1rem;
  color: var(--dark-gray);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

html[dir="rtl"] .service-detail__list li {
  padding-left: 0;
  padding-right: 1.5rem;
}

.service-detail__list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

html[dir="rtl"] .service-detail__list li::before {
  left: auto;
  right: 0;
}

/*========== CTA SECTION ==========*/
.cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.cta__container {
  text-align: center;
  padding: 3rem 2rem;
}

.cta__title {
  font-size: var(--h1-font-size);
  color: var(--white-color);
  margin-bottom: var(--mb-1);
}

.cta__text {
  font-size: var(--h3-font-size);
  color: var(--white-color);
  margin-bottom: var(--mb-2);
  font-weight: var(--font-light);
}

.cta__button {
  background-color: var(--white-color);
  color: var(--primary-color);
}

.cta__button:hover {
  background-color: var(--light-gray);
  color: var(--primary-dark);
}

/*========== ABOUT STORY ==========*/
.about-story__container {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 4rem;
}

.about-story__image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.about-story__image img {
  width: 100%;
  transition: var(--transition);
}

.about-story__image:hover img {
  transform: scale(1.1);
}

.about-story__text {
  color: var(--medium-gray);
  margin-bottom: var(--mb-1-5);
  line-height: 1.8;
  text-align: justify;
}

/*========== VISION MISSION ==========*/
.vision-mission__container {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.vision-mission__card {
  background-color: var(--white-color);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  text-align: center;
  transition: var(--transition);
}

.vision-mission__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(211,47,47,0.2);
}

.vision-mission__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1-5);
}

.vision-mission__icon i {
  font-size: 2.5rem;
  color: var(--white-color);
}

.vision-mission__title {
  font-size: var(--h3-font-size);
  color: var(--dark-color);
  margin-bottom: var(--mb-1);
}

.vision-mission__text {
  color: var(--medium-gray);
  line-height: 1.8;
}

/*========== VALUES ==========*/
.values__container {
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.value__card {
  background-color: var(--white-color);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.value__card:hover {
  transform: translateY(-5px);
  border-top-color: var(--primary-color);
  box-shadow: 0 15px 50px rgba(211,47,47,0.15);
}

.value__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
}

.value__icon i {
  font-size: 2rem;
  color: var(--white-color);
}

.value__title {
  font-size: var(--h3-font-size);
  color: var(--dark-color);
  margin-bottom: var(--mb-0-5);
}

.value__text {
  color: var(--medium-gray);
  font-size: var(--small-font-size);
}

/*========== WHY CHOOSE ==========*/
.why-choose__container {
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.why-choose__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--white-color);
  border-radius: 15px;
  transition: var(--transition);
}

.why-choose__item:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.why-choose__icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.why-choose__title {
  font-size: var(--h3-font-size);
  color: var(--dark-color);
  margin-bottom: var(--mb-0-5);
}

.why-choose__text {
  color: var(--medium-gray);
  line-height: 1.6;
}

/*========== PROJECTS FILTER ==========*/
.projects-filter {
  padding-top: 0;
  padding-bottom: 2rem;
}

.projects-filter__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--mb-3);
}

.projects-filter__button {
  padding: 0.8rem 2rem;
  background-color: var(--white-color);
  color: var(--dark-gray);
  border-radius: 50px;
  font-weight: var(--font-semibold);
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
}

.projects-filter__button:hover,
.projects-filter__button.active {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(211,47,47,0.3);
}

.projects__grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project__item {
  transition: var(--transition);
}

.project__info {
  color: rgba(255,255,255,0.9);
  font-size: var(--small-font-size);
  margin-top: 0.5rem;
}

/*========== PROJECT PROCESS ==========*/
.process__container {
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process__step {
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
}

.process__step::after {
  content: '';
  position: absolute;
  top: 60px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  z-index: -1;
}

html[dir="rtl"] .process__step::after {
  right: auto;
  left: -50%;
  background: linear-gradient(270deg, var(--primary-color), transparent);
}

.process__step:last-child::after {
  display: none;
}

.process__number {
  font-size: 3rem;
  color: var(--primary-light);
  font-weight: var(--font-black);
  opacity: 0.2;
  margin-bottom: var(--mb-1);
}

.process__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
  box-shadow: 0 10px 30px rgba(211,47,47,0.3);
}

.process__icon i {
  font-size: 2rem;
  color: var(--white-color);
}

.process__title {
  font-size: var(--h3-font-size);
  color: var(--dark-color);
  margin-bottom: var(--mb-0-5);
}

.process__text {
  color: var(--medium-gray);
  font-size: var(--small-font-size);
}

/*========== PARTNERS SECTION ==========*/
.partners__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.partner__item {
  background-color: var(--white-color);
  padding: 2.5rem 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner__item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(211,47,47,0.15);
}

.partner__item img {
  max-width: 200px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partner__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/*========== MAP CUSTOMIZATION ==========*/
.leaflet-popup-content-wrapper {
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.leaflet-popup-tip {
  background: white;
}

.custom-popup .leaflet-popup-content {
  margin: 0;
}

/*========== RESPONSIVE ==========*/
/* For large devices */
@media screen and (max-width: 992px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .nav__menu {
    position: fixed;
    background-color: var(--white-color);
    width: 80%;
    height: 100%;
    top: 0;
    right: -100%;
    box-shadow: -2px 0 20px rgba(0,0,0,0.1);
    padding: 4rem 2rem;
    transition: var(--transition);
    z-index: var(--z-fixed);
  }

  html[dir="rtl"] .nav__menu {
    right: auto;
    left: -100%;
  }

  .nav__menu.show-menu {
    right: 0;
  }

  html[dir="rtl"] .nav__menu.show-menu {
    left: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--dark-color);
    cursor: pointer;
  }

  html[dir="rtl"] .nav__close {
    right: auto;
    left: 1.5rem;
  }

  .nav__toggle {
    display: block;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .home {
    height: 70vh;
    min-height: 500px;
  }

  .home__title {
    font-size: 2rem;
  }

  .home__subtitle {
    font-size: 1.25rem;
  }

  .home__slider-controls {
    padding: 0 1rem;
  }

  .home__arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .services__container {
    grid-template-columns: 1fr;
  }

  .projects__container {
    grid-template-columns: 1fr;
  }

  .project__image {
    height: 300px;
  }

  .testimonial__content {
    padding: 3rem 2rem;
  }

  .testimonial__text {
    font-size: var(--normal-font-size);
  }

  .testimonial__quote {
    font-size: 3rem;
    top: 1rem;
    right: 1rem;
  }

  html[dir="rtl"] .testimonial__quote {
    right: auto;
    left: 1rem;
  }

  .contact__form {
    padding: 2rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
  }

  .vision-mission__container {
    grid-template-columns: 1fr;
  }

  .values__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__step::after {
    display: none;
  }

  .about-story__container {
    grid-template-columns: 1fr;
  }

  .service-detail__container {
    grid-template-columns: 1fr;
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  .stats__container {
    grid-template-columns: 1fr;
  }

  .home__slider-dots {
    bottom: 2rem;
  }

  .about__image-overlay {
    bottom: 1rem;
    right: 1rem;
    padding: 1.5rem;
  }

  html[dir="rtl"] .about__image-overlay {
    right: auto;
    left: 1rem;
  }

  .about__experience-number {
    font-size: 2rem;
  }

  .service__card {
    padding: 2rem 1.5rem;
  }

  .project__image {
    height: 250px;
  }

  .values__container {
    grid-template-columns: 1fr;
  }

  .why-choose__container {
    grid-template-columns: 1fr;
  }

  .projects__grid {
    grid-template-columns: 1fr;
  }

  .process__container {
    grid-template-columns: 1fr;
  }

  .page-hero {
    height: 300px;
  }

  .page-hero__title {
    font-size: 2rem;
  }

  .projects-filter__buttons {
    gap: 0.5rem;
  }

  .projects-filter__button {
    padding: 0.6rem 1.5rem;
    font-size: var(--small-font-size);
  }

  .partners__container {
    gap: 2rem;
  }

  .partner__item {
    padding: 2rem;
  }

  .partner__item img {
    max-width: 150px;
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  .stats__container {
    grid-template-columns: 1fr;
  }

  .home__slider-dots {
    bottom: 2rem;
  }

  .about__image-overlay {
    bottom: 1rem;
    right: 1rem;
    padding: 1.5rem;
  }

  html[dir="rtl"] .about__image-overlay {
    right: auto;
    left: 1rem;
  }

  .about__experience-number {
    font-size: 2rem;
  }

  .service__card {
    padding: 2rem 1.5rem;
  }

  .project__image {
    height: 250px;
  }
}