* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #004A77; /* تم التغيير */
  color: #fff;
  padding: 0 20px;
  height: 55px;
  position: relative;
  z-index: 1000;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  margin-right: 10px;
}

.company-name {
  font-weight: bold;
  font-size: 16px;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #00bcd4;
}

/* Hamburger icon */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
  position: relative;
  right: 0;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 74, 119, 0.45); /* تعديل اللون الأسود للشفافية */
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 0 10px;
}

.mission-box {
  background: rgba(0, 74, 119, 0.5); /* تعديل اللون */
  padding: 20px 30px;
  border-radius: 10px;
  font-size: 1.3rem;
  max-width: 500px;
}

/* Products Section */
.products {
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.products h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.product-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.product-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 250px;
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item h3 {
  color: #00bcd4;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background-color: #004A77; /* تم التغيير */
  color: #ccc;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

/* ============================= */
/* Responsive Design */
/* ============================= */

/* Tablets */
@media (max-width: 992px) {
  .hero {
    height: 60vh;
  }
  .mission-box {
    font-size: 1.1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  header {
    padding: 0 12px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 12px;
    z-index: 1100;
  }

  nav ul {
    flex-direction: column;
    background: #004A77; /* تم التغيير */
    position: absolute;
    top: 50px;
    right: 0;
    width: 150px;
    height: auto;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-left: 2px solid #00bcd4;
    box-shadow: -2px 0 10px rgba(0, 74, 119, 0.4); /* تعديل اللون */
  }

  nav ul li {
    border-bottom: 1px solid #004A77; /* تعديل اللون */
    text-align: left;
    padding: 12px 15px;
  }

  /* عند تفعيل القائمة */
  #nav-menu.active ul {
    transform: translateX(0);
    opacity: 1;
  }

  .product-list {
    flex-direction: column;
    align-items: center;
  }

  .hero {
    height: 50vh;
  }

  .mission-box {
    font-size: 1rem;
  }
}
/* Header for contact page (60px height) */
.header-contact {
  height: 55px !important;
  padding: 0 20px;
}

/* Map Section */
.map-section {
  width: 100%;
  margin-top: 0;
}

.map-title {
  text-align: center;
  padding: 20px;
  font-size: 1.8rem;
  background: #f5f5f5;
  color: #333;
}

.map-frame {
  width: 100%;
  height: calc(250px);
  border: none;
}

/* Contact Form Section */
.contact-form-section {
  padding: 40px 20px;
  background: #f8f8f8;
}

.contact-form-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
  color: #333;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.send-btn {
  width: 100%;
  padding: 12px;
  background: #00bcd4;
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.send-btn:hover {
  background: #028fa5;
}

/* Popup message */
.popup-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4CAF50;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.popup-message.show {
  opacity: 1;
}

/* ===== Contact Information Box ===== */

.contact-info-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.contact-info-box {
  background: #f5f5f5;
  padding: 25px 35px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 600px;
}

.contact-info-box h2 {
  margin-bottom: 15px;
  color: #222;
  font-size: 24px;
}

.contact-info-box p {
  font-size: 18px;
  margin: 8px 0;
  color: #333;
}
