:root{
            --primary-red: #E53E3E;
            --primary-blue: #2D4A73;
            --accent-orange: #be2929;
            --dark-navy: #1A202C;
            --light-gray: #F7FAFC;
            --text-dark: #2D3748;
            --text-light: #718096;
            --white: #FFFFFF;
}


body {
  font-family: "Tajawal", sans-serif;
  margin: 0;
  background: #f9fafb;
  color: #1f2937;
   display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
/* header {
  background: #1f2937;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
} */

.nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 3rem;
            padding: 0 2rem;
        }

        .logo {
            display: flex;
            align-items: center; /* يخلي النص واللوجو في نفس السطر */
            gap: 0.8rem; /* مسافة صغيرة بينهم */
            font-size:  2rem;
            font-weight: bold;
            margin-bottom: 18px;
            cursor: pointer;
        }

        .logo-icon {
            width:65px;
            height: 65px;
            /* background: linear-gradient(135deg, var(--primary-red), var(--accent-orange)); */
            border-radius: 50% 50% 50% 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-blue);
             font-size: 1.2rem;
            transform: rotate(-45deg);
        }

        .logo-icon span {
            transform: rotate(45deg);
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* عشان اللوجو يبان مظبوط */
            transform: rotate(45deg);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
           
        }

        .nav-menu a {
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 500;
            /* font-size: large; */
            transition: all 0.3s ease;
            position: relative;
             margin-right: 20px;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-red);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

header nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: color 0.3s ease;
}

main {
  flex: 1;
}

header nav ul li a:hover {
  color: #c0392b;
}

/* Title */
.page-title {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1.8rem;
  color: #1f2937;
}

/* Filters */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem auto 2rem;
}

.filters input,
.filters select {
  padding: 0.6rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  color: #1f2937;
}

.filters input:focus,
.filters select:focus {
  outline: none;
  border-color: #c0392b;
  box-shadow: 0 0 4px rgba(192, 57, 43, 0.5);
}

/* Technicians */
.technicians {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 280px;
  max-width: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.card h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

.card p {
  margin: 0.2rem 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.5rem 1.2rem;
  background: #c0392b;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #a93226;
}












 /* Footer */
        .footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 1.5rem 0 1rem; /* أصغر */
    font-family: "Poppins", sans-serif;
  }

  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
    text-align: center; /* كل الكلام في النص */
  }

  .footer-section h3 {
    color: var(--primary-red);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    text-transform: uppercase;
  }

  .footer-text p {
    margin: 0.4rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .footer-text i {
    color: var(--primary-red);
  }

  .footer-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 شمال و 3 يمين */
    gap: 0.8rem;
    justify-items: center; /* النصوص في النص */
  }

  .footer-services a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
  }

  .footer-services a:hover {
    color: var(--white);
  }

  .footer-bottom {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid #4A5568;
    color: var(--text-light);
    font-size: 0.8rem;
}





/* Footer */
/* footer {
  background: #1f2937;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 2rem;
} */

/* Responsive */
@media(max-width: 1024px) {
  .card {
    width: 45%;
  }
}

@media(max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }
  header nav ul {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 100%;
  }
}

