/* Base Styles */
:root {
  --primary-color: #0056b3;
  --secondary-color: #00a0e3;
  --accent-color: #ffc107;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --text-color: #333;
  --light-text: #fff;
  --border-color: #e0e0e0;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: "Poppins", sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  text-align: center;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  position: relative;
}

.underline {
  height: 4px;
  width: 70px;
  background-color: var(--accent-color);
  margin: 0 auto 20px;
}

section {
  padding: 80px 0;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.lang-switch a {
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
}

.lang-switch a:hover {
  background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background-color: #f9f9f9;
  padding: 100px 0;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  padding-right: 50px;
}

html[dir="ltr"] .hero-content {
  padding-right: 0;
  padding-left: 50px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 90%;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

/* About Section */
.about {
  background-color: #fff;
}

.about-content {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.about-text {
  flex: 1;
  padding-right: 30px;
}

html[dir="ltr"] .about-text {
  padding-right: 0;
  padding-left: 30px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-image {
  max-width: 40000px;

  flex: 1;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.vision-mission {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.vision,
.mission {
  flex: 1;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  text-align: center;
  margin: 0 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.vision:hover,
.mission:hover {
  transform: translateY(-10px);
}

.icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.vision h3,
.mission h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Services Section */
.services {
  background-color: #f9f9f9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Experience Section */
.experience {
  background-color: #fff;
}

.experience-content {
  text-align: center;
}

.experience-content p {
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 20px;
  margin: 10px;
  min-width: 200px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-text {
  font-size: 1.1rem;
  color: var(--dark-color);
}

/* Clients Section */
.clients {
  background-color: #f9f9f9;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.client-category {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.client-category:hover {
  transform: translateY(-10px);
}

.client-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.client-category h3 {
  color: var(--primary-color);
}

/* Contact Section */
.contact {
  background-color: #fff;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 20px;
  min-width: 30px;
}

html[dir="ltr"] .contact-icon {
  margin-right: 0;
  margin-left: 20px;
}

.contact-text h3 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Map Section */
.map {
  padding: 0;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-text);
  padding: 70px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-logo p {
  margin-bottom: 20px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
  color: var(--light-text);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent-color);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--accent-color);
}

html[dir="ltr"] .footer-contact i {
  margin-right: 0;
  margin-left: 10px;
}

.social-icons {
  display: flex;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--light-text);
  transition: var(--transition);
}

html[dir="ltr"] .social-icons a {
  margin-right: 0;
  margin-left: 10px;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }

  html[dir="ltr"] .hero-content {
    padding-left: 0;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text {
    padding-right: 0;
    margin-bottom: 30px;
  }

  html[dir="ltr"] .about-text {
    padding-left: 0;
  }

  .vision-mission {
    flex-direction: column;
  }

  .vision,
  .mission {
    margin: 15px 0;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 90px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 90px);
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  html[dir="ltr"] .nav-menu {
    right: auto;
    left: -100%;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  html[dir="ltr"] .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 10px 0;
    font-size: 1.1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stats {
    flex-direction: column;
  }

  .stat-item {
    width: 100%;
    margin: 10px 0;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }
}
