* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

:root {
  --primary-color: #1a2a6c;
  --secondary-color: #fdbb2d;
  --text-dark: #333;
  --light-bg: #f8f9fa;
}

html {
  scroll-behavior: smooth;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
}

.logo span {
  color: var(--secondary-color);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 400;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.btn-main {
  background: var(--primary-color);
  color: white !important;
  padding: 10px 20px;
  border-radius: 5px;
}
.btn-main:hover {
  background: var(--secondary-color);
}

.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(images/hero-bg.jpg-1.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  max-width: 800px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  margin: 10px;
  display: inline-block;
  transition: 0.3;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 600px;
}

.btn-secondary {
  border: 2px solid white;
  color: white;
}

.btn-primary:hover {
  background: #e5a920;
}
.btn-secondary:hover {
  background: white;
  color: black;
}

.features {
  padding: 80px 8%;
  background: var(--light-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-card {
  background: white;
  padding: 40px;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card img {
  width: 50%;
  height: 50%;
  object-fit: cover;
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.testimonials {
  padding: 100px 8%;
  background-color: #ffffff;
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.test-card {
  background: #fff;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* ظل ناعم جداً */
  text-align: left;
  border-bottom: 4px solid var(--secondary-color); /* لمسة لونية في الأسفل */
  transition: 0.3s;
}

.test-card:hover {
  transform: translateY(-5px);
}

.client-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.client-info h4 {
  color: var(--primary-color);
  margin: 0;
}

.client-info span {
  font-size: 13px;
  color: #888;
}

.test-card p {
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.stars {
  color: var(--secondary-color);
  font-size: 18px;
}

.client-icon {
  width: 60px;
  height: 60px;
  background-color: #f0f2f5; /* لون خلفية خفيف خلف الأيقونة */
  padding: 10px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: contain;
}

.contact {
  padding: 80px 8%;
  text-align: center;
}

.contact h2 {
  margin-bottom: 40px;
  color: var(--primary-color);
}

#inquiry-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#inquiry-form input,
#inquiry-form select {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}

footer {
  padding: 40px;
  text-align: center;
  background: var(--primary-color);
  color: white;
}

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 40px;
  }

  .navbar {
    padding: 15px 5%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex; /* أعدناها للظهور */
    flex-direction: column; /* ترتيب رأسي بدلاً من أفقي */
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  .nav-links li {
    margin: 15px 0; /* مسافة بين الروابط */
    .hero {
      height: 70vh;
    }

    .hero-content h1 {
      font-size: 32px;
    }

    .feature-grid,
    .testimonial-grid {
      grid-template-columns: 1fr;
    }
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    margin: 10px 0;
  }

  .feature-card {
    height: 250px;
  }
}
