/* عام */
body {
  font-family: Arial, sans-serif;
  direction: rtl;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* هيدر ثابت وشفاف */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: rgba(0, 25, 60, 0.8);
  z-index: 10;
}

/* ظل أسفل الهيدر */
.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 50, 0.6);
  z-index: 0;
}

/* حاوية الشعار والقائمة */
.header-container {
  position: relative;
  max-width: 1200px;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  z-index: 1;
}
.logo img {
  height: 40px;
  margin-bottom: 8px;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}
.main-nav li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 4px 0;
}
.main-nav li a:hover {
  text-decoration: underline;
}

/* نجعل المحتوى يبدأ أسفل الهيدر */
.content-wrapper {
  padding-top: 80px;
}

/* غلاف الصفحة الرئيسية */
.hero {
  position: relative;
  background-image: url("https://scontent.fjrs23-1.fna.fbcdn.net/v/t1.6435-9/66105056_1090850361112175_6485776920519639040_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=86c6b0&_nc_ohc=U7fbfLtVHfUQ7kNvwGm1Tfj&_nc_oc=AdmEtrxCoXJB2pXGjQFzVFEHkEpAZ5ZYq4UBfCEjwvZc5qFgfEil0DD7w1K8izmP9PM&_nc_zt=23&_nc_ht=scontent.fjrs23-1.fna&_nc_gid=lUm-OgKvnb0i7zlZ_lhn_w&oh=00_AfJAEwwBsp5cPJMsYX5Tzb4XMtOEZ5qxhvoMnLhG5lK8Tg&oe=68471420");
  background-size: cover;
  background-position: center;
  padding: 140px 20px;
  text-align: center;
  margin: 0;
}
.hero h1 {
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  margin: 0;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* غلاف صفحة تواصل معنا */
.hero-contact {
  position: relative;
  background-image: url("image/اتصل بنا.png");
  background-size: cover;
  background-position: center;
  padding: 140px 20px;
  text-align: center;
  margin: 0;
}
.hero-contact h1 {
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  margin: 0;
}
.hero-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* الحاوية الرئيسية */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}
h2 {
  color: #004080;
  margin-bottom: 15px;
}

/* أقسام المحتوى */
.company-management .management-content,
.vision-section .vision-content,
.mission-section .mission-content,
.quality-section .quality-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-direction: row-reverse;
}
.management-image,
.vision-image,
.mission-image,
.quality-image {
  flex: 0 0 40%;
  min-width: 300px;
}
.management-image img,
.vision-image img,
.mission-image img,
.quality-image img {
  width: 100%;
  border-radius: 8px;
}
.management-text,
.vision-text,
.mission-text,
.quality-text {
  flex: 1;
  text-align: right;
}

/* نموذج التواصل */
.contact-form {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

/* بطاقة بيضاء داخل contact-form */
.contact-form .card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

/* وصف الإرشاد داخل البطاقة */
.contact-form .card-description {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  color: #004080;
  line-height: 1.4;
  text-align: center;
  margin: 0 0 20px;
}

/* مربع الحقول المزدوجة */
.contact-form .field-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 15px;
  margin-bottom: 20px;
}

/* حقول عرض كامل */
.contact-form .field {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #004080;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}
.contact-form button {
  display: block;
  margin: 0 auto;
  padding: 12px 36px;
  background-color: #004080;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 18px;
  cursor: pointer;
}
.contact-form button:hover {
  background-color: #003060;
}

/* تنسيق الرسالة التعريفية قبل البطاقة */
.contact-intro {
  text-align: center;
  margin: 30px 20px;
}
.contact-intro h2 {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 28px;
  font-weight: bold;
  color: #004080;
  margin: 0 0 8px;
  line-height: 1.2;
}
.contact-intro p {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 18px;
  font-weight: normal;
  color: #333333;
  margin: 0;
  line-height: 1.4;
}

/* ----------------------------------------
   قسم أدوات صحية في صفحة المنتجات
-----------------------------------------*/
.health-tools {
  margin-top: 40px;
}
.health-tools h2 {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #004080;
  margin-bottom: 20px;
  text-align: center;
}
.health-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.tool-card {
  text-align: center;
}
.tool-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.tool-card p {
  margin-top: 8px;
  font-size: 16px;
  color: #333;
}

/* ----------------------------------------
   قسم عنوان الشركة والخدمات في صفحة تواصل معنا
-----------------------------------------*/
.company-details {
  background-color: #004080;
  color: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  margin: 40px 20px;
}
.company-details .company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.company-details .company-card {
  padding: 10px 15px;
  border-left: 1px solid rgba(255,255,255,0.3);
}
.company-details .company-card:first-child {
  border-left: none;
}
.company-details .company-card h3 {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
}
.company-details .company-card p {
  display: flex;
  align-items: center;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  margin: 6px 0;
  justify-content: center;
}
.company-details .company-card .icon {
  display: inline-block;
  margin-left: 8px;
  font-size: 18px;
}

/* ----------------------------------------
   تنسيق عناوين وأفكار الصفحة الرئيسية
-----------------------------------------*/
/* عناوين الأقسام (h2) */
.container > section h2 {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 28px;
  font-weight: bold;
  color: #004080;
  margin-bottom: 12px;
}

/* نص الفقرة في الأقسام */
.container > section p {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  color: #4A4A4A;
  line-height: 1.6;
  margin-bottom: 1em;
  text-align: justify;
}

/* فوتر */
footer {
  background-color: rgba(0, 25, 60, 0.8);
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}