/* ==== Reset & Base ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

 body {
  font-family: 'Poppins', 'Cairo', sans-serif;

  background: linear-gradient(135deg, #003366, #00d68f, #003366);
  background-size: 400% 400%;
  animation: moveGradient 10s ease infinite;
  color: #003366;
  position: relative;
  overflow-x: hidden;
}

/* ==== Animated Blobs ==== */
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
  animation: float 12s ease-in-out infinite;
}

.blob1 {
  width: 300px;
  height: 300px;
  background: #00d68f;
  top: -100px;
  left: -120px;
}

.blob2 {
  width: 400px;
  height: 400px;
  background: #003366;
  bottom: -150px;
  right: -100px;
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* ==== Logo diamond ==== */
.logo-diamond {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  background-color: rgb(107, 46, 46);
  transform: rotate(45deg);
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.logo-diamond span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-weight: bold;
  font-size: 20px;
  color: #003366;
}

/* ==== Hero ==== */
.hero {
  padding: 100px 20px 80px;
  text-align: center;
  background: transparent;
  color: white;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  letter-spacing: 1px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 20px;
  margin-top: 25px;
  color: #f0f0f0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.manager-name {
  font-size: 18px;
  color: #ffffff;
  margin-top: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 16px;
  color: #f0f0f0;
  margin-top: 5px;
  font-weight: 400;
}

.cta-button {
  margin-top: 30px;
  padding: 12px 30px;
  background-color: #00d68f;
  color: #003366;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #00c57a;
  color: white;
  box-shadow: 0 0 10px rgba(0, 214, 143, 0.5);
}

/* ==== Language Switch ==== */
.language-switch {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.language-switch button {
  background-color: #ffffff;
  color: #003366;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.language-switch button:hover {
  background-color: #e0fff4;
}

/* ==== Section ==== */
.service-list {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  animation: fadeInUp 1s ease-in-out both;
}

.service-list h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 30px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ==== Accordion ==== */
.accordion {
  background-color: #ecfff7;
  color: #003366;
  cursor: pointer;
  padding: 18px 24px;
  width: 100%;
  border: none;
  font-size: 18px;
  transition: all 0.3s ease;
  margin-bottom: 12px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.accordion:hover {
  background-color: #d1ffe8;
  transform: translateY(-2px);
}

.panel {
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  border-radius: 0 0 12px 12px;
  padding: 0 24px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.panel p {
  padding: 20px 0;
  color: #444;
  line-height: 1.6;
}

/* ==== Animation ==== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes moveGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ==== Footer ==== */
footer {
  background: #003366;
  padding: 20px 8px;       /* قللنا الحواف كثير */
  text-align: center;
  color: #fff;
  font-size: 12px;        /* صغرنا حجم النص */
  line-height: 1.2;       /* تقليل المسافة بين السطور */
}

.company-address {
  margin: 0;
  font-size: 12px;        /* أصغر من قبل */
  font-weight: 600;
  line-height: 1.2;
  direction: ltr;
  unicode-bidi: isolate;
}

.address-icon { 
  margin-right: 4px; 
}

.copyright {
  margin: 2px 0 0;        /* مسافة صغيرة جدًا فوق الحقوق */
  font-size: 11px;        /* تصغير الحقوق */
  direction: ltr;
  unicode-bidi: isolate;
}
/* ==== Logo inline ==== */
.logo-diamond-inline {
  display: inline-block;
  width: 85px;
  height: 85px;
  background: linear-gradient(135deg, #00f28c, #00d68f);
  transform: rotate(45deg);
  position: relative;
  margin-right: 12px;
  vertical-align: middle;
  border: 3px solid #ffffff;
  box-shadow:
    inset 0 0 15px rgba(255, 255, 255, 0.4),
    0 0 25px rgba(13, 221, 58, 0.5),
    0 0 60px rgba(15, 212, 48, 0.3);
  transition: 0.3s ease;
}

.logo-diamond-inline span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-weight: bold;
  font-size: 46px;
  color: #003366;
  font-family: 'Poppins', sans-serif;
}

/* ==== RTL Support ==== */
html[dir="rtl"] .accordion {
  text-align: right !important;
}

html[dir="ltr"] .panel p {
  text-align: left !important;
}

html[dir="rtl"] .panel p {
  text-align: right !important;
}

html.ltr .accordion,
html.ltr .panel p {
  text-align: left;
}

html.rtl .accordion,
html.rtl .panel p {
  text-align: right;
}

/* ==== Main Title ==== */
.main-title-container {
  direction: ltr !important;
  text-align: center;
}

.main-title {
  display: inline-block;
  font-size: 40px;
  font-weight: 700;
  color: white;
}

/* ==== Floating Contact Button ==== */
.contact-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}
.contact-info {
  padding: 12px;
  font-size: 14px;
  color: #003366;
  user-select: text; /* يسمح بالنسخ اليدوي */
}

.contact-info p {
  margin: 6px 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}


#fab-main {
  background-color: #00d68f;
  color: #003366;
  border: none;
  padding: 14px 18px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
}

#fab-main:hover {
  background-color: #00c57a;
  color: white;
}

/* FAB Options with animation */
.fab-options {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: absolute;
  bottom: 50px;
  right: 0;
  left: auto;
}

.fab-options.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fab-options a {
  text-decoration: none;
  color: #003366;
  padding: 12px 18px;
  font-size: 15px;
  transition: background 0.2s ease;
  border-bottom: 1px solid #eee;
}

.fab-options a:last-child {
  border-bottom: none;
}

.fab-options a:hover {
  background-color: #f0f0f0;
}
.service-image {
  width: 90%;
  max-width: 350px;
  height: auto;
  border-radius: 10px;
  margin: 16px auto 10px;
  display: block;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
/* ==== Welcome Section ==== */
.welcome-section {
  background: #ffffff;
  padding: 60px 25px;
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.welcome-content {
  font-size: 16.5px;
  line-height: 1.9;
  color: #003366;
  font-family: 'Poppins', sans-serif;
}

.welcome-content h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 25px;
  color: #003366;
}

.highlight-company {
  color: #00b67a;
  font-weight: 700;
}

.owner-signature {
  text-align: right;
  margin-top: 30px;
  font-size: 18px;
  font-weight: 600;
  color: #00b67a;
}
.footer-address {
  font-size: 16px;
  font-weight: bold;
  color: #fafafa; /* الأزرق المستخدم في الموقع */
  margin-bottom: 8px;
}
.owner-name {
  font-size: 20px; /* تكبير الخط */
  font-weight: bold; /* خط عريض */
  margin-top: 5px; /* مسافة بسيطة فوق */
  margin-bottom: 2px; /* تقليل المسافة تحت */
}
#ownerName {
  font-size: 27px !important; /* تكبير الخط */
  font-weight: bold !important; /* جعله عريض */
  margin-top: 5px !important; /* مسافة صغيرة فوق */
  margin-bottom: 2px !important; /* تقليل المسافة تحت */
}
.company-address {
  direction: ltr; /* يخلي النص يمشي من اليسار لليمين حتى لو الصفحة RTL */
  unicode-bidi: isolate; /* يمنع قلب الرموز */
  text-align: center; /* أو left أو right حسب التصميم */
  font-size: 16px;
}
footer {
  background: #003366;
  padding: 1px 1px;      /* قللنا الحواف عشان ما يكبر الفوتر */
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.company-address {
  margin: 0;               /* لا مسافات زائدة */
  font-size: 17px;         /* حجم معتدل */
  font-weight: 600;
  line-height: 1.4;
  direction: ltr;          /* ثابت LTR مهما تغيّرت لغة الصفحة */
  unicode-bidi: isolate;   /* يثبّت ترتيب الرموز */
}

.address-icon { 
  margin-right: 10px; 
}

.copyright {
  margin: 1px 0 0;         /* مسافة بسيطة فوق الحقوق */
  font-size: 13px;         /* أصغر شوي عشان ما يكبر الفوتر */
  direction: ltr;          /* لا يتأثر بالـ RTL */
  unicode-bidi: isolate;   /* يثبت النص */
}