body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

header {
    background-color: #262626;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 55px;
}

header nav {
    display: flex;
    justify-content: flex-end;
}

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

header nav ul li {
    margin-left: 60px;
}

header nav ul li a {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
}


.hero {
    text-align: center;
 
}

.hero img {
    width: 100%;
    max-height: 400px;
    object-fit: center;
}

.about, .why-choose-us, .services {
    padding: 10px 0;
    text-align: center;
}

.about h2, .why-choose-us h2, .services h2 {
    color: #00ffcc;
}

.about .about-text, .why-choose-us .choose-us-text {
    text-align: justify;
    margin: 0 auto;
    width: 90%;
    max-width: 800px;
    line-height: 1.6;
}

.choose-us-items {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
}

.item {
    width: 45%;
}

footer {
    background-color: #1f1f1f;
    padding: 10px 0;
    text-align: center;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #000000;
    text-decoration: none;
    margin: 0 10px;
}

/* Mobile Styles */
ul {
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  
  ul a {
    color: #00ffcc;
  }
  
  ul li {
    padding: 5px;
    margin-left: 10px;
  }
  
  ul li:hover {
    transform: scale(1.1);
    transition: 0.3s;

  }
/* 🔹 أيقونة القائمة */
#hamburger-icon {
  display: none;
  cursor: pointer;
  z-index: 999;
  transform: scale(0.8); /* ✅ تصغير الحجم */
}

/* 🔹 خطوط القائمة */
#hamburger-icon div {
  width: 20px;   /* أصغر من 25px */
  height: 2px;   /* أنحف */
  background-color: #00ffee;
  margin: 4px;
  transition: 0.4s;
}

/* 🔹 تحويل الأيقونة إلى "X" عند الفتح */
#hamburger-icon.open .bar1 {
  transform: rotate(-45deg) translate(-4px, 5px);
}
#hamburger-icon.open .bar2 {
  opacity: 0;
}
#hamburger-icon.open .bar3 {
  transform: rotate(45deg) translate(-4px, -5px);
}

/* 🔹 القائمة نفسها */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 55px; /* أقل ارتفاع */
  right: 10px; /* قرب من الحافة */
  background-color: #000;
  border-radius: 6px;
  box-shadow: 0 0 6px #00ffee;
  z-index: 998;
  padding: 10px 15px;
  font-size: 14px; /* ✅ أصغر خط */
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu li {
  margin: 6px 0;
}

.mobile-menu a {
  color: #00ffee;
  text-decoration: none;
  font-weight: 600;
}

  
  @media only screen and (max-width: 600px) {
    header nav {
      display: none;
    }
  
    #hamburger-icon {
      display: block;
    }
  }

.contact-info {
            text-align: center;
            padding: 40px 20px 20px;
        }

        .contact-info h1, .contact-info h2 {
            color: #00ffee;
        }

        .contact-info p, .contact-info a {
            color: #ccc;
            font-size: 16px;
        }

        .contact-form {
            background-color: #121212;
            border-radius: 10px;
            padding: 50px 40px;
            max-width: 600px;
            margin: 30px auto;
            box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
        }

        .contact-form h1,
        .contact-form h2 {
            text-align: center;
            color: #00ffee;
            margin-bottom: 20px;
        }

        .form-group {
            margin-bottom: 25px;
            display: flex;
            flex-direction: column;
        }

        .form-group input,
        .form-group textarea {
            background-color: transparent;
            border: 1px solid #00ffee;
            border-radius: 5px;
            padding: 14px;
            color: #f0f0f0;
            font-size: 16px;
            transition: 0.3s ease;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #888;
            font-style: italic;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #00ffaa;
            box-shadow: 0 0 10px #00ffaa;
            background-color: #1c1c1c;
        }

        textarea {
            resize: vertical;
            min-height: 150px;
        }

        button[type="submit"] {
            width: 100%;
            background-color: #00ffee;
            color: #000;
            font-weight: bold;
            padding: 14px;
            font-size: 16px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        button[type="submit"]:hover {
            background-color: #00ffaa;
            transform: scale(1.02);
            box-shadow: 0 0 12px #00ffaa;
        }

        @media (max-width: 600px) {
            .contact-form {
                padding: 30px 20px;
            }
        }
.confirmation-message {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #00ffaa;
    color: #000;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 0 10px #00ffaa;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s ease;
}

.confirmation-message.visible {
    display: block;
    opacity: 1;
}

/* === Nouveau Style Formulaire === */
.contact-form {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
    max-width: 600px;
    margin: auto;
    animation: fadeInUp 1s ease forwards;
}

.contact-form h1,
.contact-form h2 {
    color: #00ffee;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #121212;
    border: 1px solid #00ffcc;
    color: #f0f0f0;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffaa;
    box-shadow: 0 0 10px #00ffaa;
}

button[type="submit"] {
    width: 100%;
    background-color: #00ffcc;
    color: #000;
    padding: 12px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #00ffaa;
    cursor: pointer;
}

@media (max-width: 600px) {
    .contact-form {
        padding: 25px;
    }
}


/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600&display=swap');

body {
    font-family: 'Orbitron', sans-serif;
    background-color: #121212;
    color: #f0f0f0;
}

a {
    color: #00ffcc;
}

header nav ul li a:hover,
.footer-nav a:hover {
    color: #00ffaa;
    text-decoration: underline;
}

button {
    background-color: #00ffcc;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00ffaa;
    cursor: pointer;
}

.hero img {
    filter: brightness(0.7);
}

.choose-us-items .item {
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,255,204,0.2);
}

footer {
    background-color: #1f1f1f;
    color: #888;
}



.item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.8);
}

.item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, transparent, #00ffee, transparent);
    transform: rotate(0deg);
    animation: neonSweep 4s linear infinite;
    opacity: 0.2;
}

@keyframes neonSweep {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



.hero {
    position: relative;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00ffee;
    font-family: 'Orbitron', sans-serif;
    font-size: 52px;
    font-weight: 700;
    text-shadow: 0 0 15px #00ffee, 0 0 25px #00ffee;
    z-index: 2;
    text-align: center;
}



/* === Animations Formulaire Contact === */
.contact-form {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Fond animé pour page 404 === */
body.error-page {
    background: radial-gradient(circle, #1a1a1a, #000000);
    overflow: hidden;
    color: #00ffee;
    font-family: 'Orbitron', sans-serif;
}

.error-content {
    animation: glow 2s ease-in-out infinite alternate;
    text-align: center;
    padding-top: 100px;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #00ffee, 0 0 20px #00ffee;
    }
    to {
        text-shadow: 0 0 20px #00ffee, 0 0 40px #00ffee;
    }
}

.error-content h1 {
    font-size: 120px;
    animation: pulse404 3s infinite ease-in-out;
}

@keyframes pulse404 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.service-item img {
    max-width: 100px;
    margin-bottom: 15px;
}

