:root {
  --dark-blue: #1f2937;
  --blue: #11305a; /* الكحلي */
  --blue-gray: #4B5563; /* رمادي مزرق للهوفر */
  --light-gray: #D1D5DB; 
  --skin-tone: #F5CBA7;
  --white: #FFFFFF;
  --primary-red: #C0392B; 

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

/* general */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fafb;
}

/* language switcher */
.lang-switch {
  position: absolute;
  top: 20px;
  right: 20px;
}

.lang-switch button {
  margin: 0 5px;
  padding: 0.5em 1em;
  border: none;
  border-radius: 5px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  transition: 0.3s;
}

.lang-switch button:hover {
  background: var(--blue);
}

.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(--white);
             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%;
        }

/* section heading */
.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  margin: 1em 0 1.5em 0;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInDown 1s ease-in-out;
}

/* الخط الأزرق تحت العنوان */
h2.section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 80px;
  height: 4px;
  background: var(--primary-red);
  border-radius: 2px;
}

/* cards container as grid */
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
  justify-content: center;
  margin: 2em auto;
  max-width: 1200px; /* عشان ميتمدش أوي */
  padding: 0 1em;
}

.column {
  display: flex;
  justify-content: center;
}

.card {
  background: var(--white);
  padding: 2em;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 300px;
}

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

.icon-wrapper {
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 1em;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
  color: var(--blue);
}

.card p {
  font-size: 1rem;
  color: var(--blue-gray);
  margin-bottom: 1em;
}

.btn {
  padding: 0.5em 1.2em;
  border: none;
  border-radius: 8px;
  background: var( --blue);
  color: var(--white);
  cursor: pointer;
  transition:  0.3s;
}

.btn:hover {
  background: var(--blue-gray);
}

/*  Footer */

   /* 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;
}


/* animation */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}