/* Reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  color: antiquewhite;
}

:root {
  --primaryColor: rgb(252, 251, 251);
  --secondaryColor: rgb(49, 80, 219);
  --lightColor: black;
  --bgColor-1: rgb(50, 204, 204);
  --bgColor-2: #040261;
  --padding: 8%;
}

/* Home Section */
.home {
  width: 100%;
  min-height: 100vh;
  background-color: var(--primaryColor);
  padding: 0; /* إزالة أي padding على الجوال */
  box-sizing: border-box;
}

/* الحاوية الداخلية للمحتوى */
.home .container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem; /* padding قليل فقط للحاوية */
  box-sizing: border-box;
}

/* Media Query للشاشات الكبيرة فقط */
@media (min-width: 768px) {
  .home .container {
    max-width: 1200px;
    padding: 0 2rem; /* padding معتدل للشاشات الكبيرة */
  }
}

span {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  color: var(--bgColor-1);
}

h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  color: var(--lightColor);
  font-size: 2rem;
  letter-spacing: 0.12rem;
  cursor: pointer;
}
/* للشاشات الصغيرة */
@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem; /* تصغير الحجم */
  }
}

/* للشاشات الصغيرة جداً (مثل الهواتف) */
@media (max-width: 480px) {
  h2 {
    font-size: 1.2rem; /* تصغير الحجم أكثر */
  }
}

/* النمط العام للـ navbar */
nav {
  font-weight: bold;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bgColor-2); /* لون الخلفية */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ظل خفيف */
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: nowrap;
  border-bottom: 3px solid var(--primaryColor); /* إضافة حدود أسفل الـ navbar */
  transition:
    background-color 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

/* تخصيص الـ h2 */
nav h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.8rem;
  color: var(--primaryColor);
  margin-left: 20px; /* مسافة بين اللوجو والعنوان */
  white-space: nowrap;
  letter-spacing: 1px; /* زيادة تباعد الحروف */
  transition: color 0.3s ease;
}
nav h2:hover {
  color: var(--bgColor-1); /* تغيير اللون عند التمرير */
  transform: scale(1.05); /* تكبير النص قليلاً عند التمرير */
}

/* تخصيص الـ span داخل h2 */
nav h2 span {
  color: var(--primaryColor);
  transition: color 0.3s ease;
}

/* تخصيص الروابط في الـ navbar */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-style: italic;
  font-size: 15px;
  font-weight: bolder;
  color: var(--primaryColor);
  text-decoration: none;
  text-transform: capitalize;
  transition:
    color 0.3s ease,
    transform 0.2s ease;
  position: relative;
}

/* تأثير عند التمرير فوق الروابط */
nav ul li a:hover {
  color: var(--bgColor-1);
  transform: scale(1.05);
}

/* إضافة خط تحت الرابط عند التمرير */
nav ul li a:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primaryColor);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav ul li a:hover:after {
  transform: scaleX(1); /* إضافة الخط عند التمرير */
}

/*  مع الشاشات الصغيرة تخصيص زر Request */

nav .btn {
  padding: 10px 20px;
  border-radius: 30px;
  background-color: var(--primaryColor);
  color: var(--bgColor-2);
  text-decoration: none;
  font-weight: bold;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  width: auto;
  min-width: 0;
  margin-left: 20px;
  margin-right: 20px;
  white-space: nowrap;
  border: 2px solid transparent;
}

/* مسافة للزر عند الشاشات الصغيرة */
@media (max-width: 768px) {
  nav .btn {
    margin-top: 15px; /* هنا تحدد المسافة بين الزر والتاب اللي فوقه */
  }
}

/* تأثير عند التمرير فوق زر Request */
nav .btn:hover {
  background-color: var(--bgColor-1);
  transform: scale(1.05);
  border: 2px solid var(--bgColor-2); /* تغيير الحد عند التمرير */
}

/* تخصيص اللوجو */
nav img {
  max-width: 70px;
  height: auto;
  margin-right: 15px; /* مسافة بين اللوجو والعنوان */
  flex-shrink: 0;
  border: 2px solid var(--primaryColor);
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* تأثير عند التمرير فوق اللوجو */
nav img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* التعديلات لشاشات صغيرة */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
    justify-content: center;
    align-items: center;
  }

  nav h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  nav ul li a {
    font-size: 14px;
  }

  nav .btn {
    min-width: 120px;
  }

  /* تقليل حجم اللوجو في الشاشات الصغيرة */
  nav img {
    max-width: 80px;
  }
}

@media (max-width: 480px) {
  nav h2 {
    font-size: 1.3rem;
  }

  nav ul {
    gap: 10px;
  }

  nav ul li a {
    font-size: 13px;
  }

  nav .btn {
    min-width: 100px;
  }

  /* تقليل حجم اللوجو أكثر في الشاشات الصغيرة */
  nav img {
    max-width: 60px;
  }
}
/* ===== Slideshow Wrapper ===== */
.slideshow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 20px;
  background-color: var(--primaryColor);
}

/* ===== Slideshow Container ===== */
.slideshow-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  border-radius: 16px;
  border: 3px solid #ccc;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Individual slides */
.slide {
  display: none; /* التحكم بالعرض عبر JS */
  transition: opacity 1s ease-in-out;
}

/* Images */
.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s ease;
}

.slide img:hover {
  transform: scale(1.03);
}

/* Caption styles */
.caption {
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  position: absolute;
  bottom: 12px;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  padding: 12px 0;
  border-radius: 0 0 16px 16px;
  letter-spacing: 0.5px;
}

/* Buttons (Prev/Next) */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  font-size: 20px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  user-select: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.85);
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 15px;
}
.next {
  right: 15px;
}

/* Fade animation */
.fade {
  animation-name: fade;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
}

@keyframes fade {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

/* ===== Vision & Mission (About Section) ===== */
#about {
  background-color: var(--primaryColor);
  padding: 60px 20px;
  text-align: center;
}

/* container صار flex بدل صندوق واحد */
.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  background-color: transparent;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 0;
}

/* كل بطاقة */
.about-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
  flex: 1;
  transition: 0.3s;
}

.about-box:hover {
  transform: translateY(-6px);
}

/* العنوان */
.about-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
  color: var(--lightColor);
}

/* الخط تحت العنوان */
.about-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background-color: var(--bgColor-1);
  display: block;
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

/* النص */
.about-box p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 0;
  color: var(--lightColor);
  font-style: italic;
  font-weight: bold;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .slide img {
    height: 250px;
  }

  .about-title {
    font-size: 28px;
  }

  .about-box p {
    font-size: 16px;
    line-height: 1.6;
  }

  .about-container {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .prev,
  .next {
    padding: 12px;
    font-size: 16px;
  }

  .about-title {
    font-size: 24px;
  }

  .about-box p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* General Styles for the Request Page */
body#Request {
  font-family: Arial, sans-serif;
  background-color: var(--primaryColor);
  color: var(--lightColor);
  margin: 0;
  padding: 0;
}

#fill {
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  background-color: var(--bgColor-1);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

#fill h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--bgColor-2);
}

#fill label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: var(--bgColor-2);
}

#fill input[type="text"],
#fill input[type="email"],
#fill input[type="number"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

#fill input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.5);
}

#fill input::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Add responsive behavior */
@media (max-width: 600px) {
  #fill {
    margin: 20px;
    padding: 15px;
  }

  #fill h1 {
    font-size: 20px;
  }

  #fill input {
    font-size: 14px;
  }
}
#fill button#sendButton {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: var(--primaryColor);
  color: var(--lightColor);
  font-weight: bold;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
  text-align: center;
  transition: background-color 0.3s ease;
}

#fill button#sendButton:hover {
  background-color: #007bff;
}
/* Style for the file upload input */
#fill input[type="file"] {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: var(--lightColor);
  background-color: var(--primaryColor);
  box-sizing: border-box;
}

#fill input[type="file"]::file-selector-button {
  background-color: var(--bgColor-1);
  color: var(--lightColor);
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#fill input[type="file"]::file-selector-button:hover {
  background-color: var(--secondaryColor);
}

#fill .image-info {
  font-size: 12px;
  color: var(--lightColor);
  font-style: italic;
  margin-top: -2px;
  margin-bottom: 15px;
}
/* ===== About Page Styles ===== */
#about-page-container {
  background-color: var(--primaryColor);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.about-page-content {
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap; /* لتجنب كسر التصميم على الشاشات الصغيرة */
}

/* About Text */
.about-page-text {
  flex: 1;
  text-align: left;
}

.about-page-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
  color: var(--lightColor);
}

.about-page-text h2::after {
  content: "";
  width: 100px;
  height: 4px;
  background-color: var(--bgColor-1);
  display: block;
  margin-top: 10px;
  border-radius: 2px;
}

.about-page-text p {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 18px;
  color: var(--lightColor);
}

/* About Image */
.about-page-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-page-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  border: 6px solid var(--bgColor-1);
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.about-page-image img:hover {
  transform: scale(1.03);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-page-content {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }

  .about-page-text {
    text-align: center;
  }

  .about-page-text h2 {
    font-size: 32px;
  }

  .about-page-text p {
    font-size: 16px;
  }

  .about-page-image img {
    max-width: 100%;
  }
}
/* ===== Company Profile Section ===== */

#company-profile-section {
  background-color: var(--primaryColor);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.company-profile-container {
  max-width: 1200px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Header */
.company-profile-header {
  text-align: center;
  margin-bottom: 40px;
}

.company-profile-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--lightColor);
  position: relative;
  display: inline-block;
}

.company-profile-header h2::after {
  content: "";
  width: 100px;
  height: 4px;
  background-color: var(--bgColor-1);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.company-profile-header p {
  margin-top: 20px;
  font-size: 18px;
  color: var(--lightColor);
  line-height: 1.8;
}

/* Buttons */
.company-profile-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  z-index: 1; /* يمنع أي تداخل hover */
}

.profile-btn {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease; /* فقط للون */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

/* زر Preview */
.view-btn {
  background-color: transparent;
  border: 2px solid var(--bgColor-1);
  color: var(--lightColor);
}

.view-btn:hover {
  background-color: var(--bgColor-1);
  color: #fff;
}

/* زر Download الآن مطابق للـ Preview */
.download-btn {
  background-color: transparent; /* نفس الخلفية كـ Preview */
  border: 2px solid var(--bgColor-1);
  color: var(--lightColor);
}

.download-btn:hover {
  background-color: var(--bgColor-1);
  color: #fff;
}

/* ===== Responsive ===== */

@media (max-width: 992px) {
  .company-profile-container {
    padding: 30px;
  }

  .company-profile-header h2 {
    font-size: 30px;
  }

  .company-profile-header p {
    font-size: 16px;
  }
}

/* General styles for the Gallery page */
/* Body & Container */
body#Gallery {
  background-color: var(--primaryColor);
  color: var(--lightColor);
  font-family: "Josefin Sans", sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#gallery-container {
  max-width: 1200px;
  margin: 30px auto; /* تقليل المسافة العليا */
  padding: 20px;
  text-align: center;
  flex-grow: 1;
}

/* Gallery Title Modern Styling */
#gallery-container h1 {
  font-size: 45px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 6px;
  text-align: center;
  color: var(--bgColor-2);
  margin-bottom: 40px;
  display: inline-block;
  position: relative;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .gallery-item {
    height: 250px; /* تقليل الارتفاع في الشاشات الأصغر */
  }
}

@media (max-width: 480px) {
  .gallery-item {
    height: 200px; /* تقليل أكثر في الشاشات الصغيرة جداً */
  }
}

/* Individual Gallery Items */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 300px; /* ثابت لتناسق الصور */
}

/* Images */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Captions */
.caption {
  font-weight: bold;
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6); /* شفاف جزئي */
  color: var(--primaryColor);
  text-align: center;
  font-size: 14px;
  padding: 10px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .caption {
  opacity: 1;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 40px 0;
}

.pagination button {
  background-color: var(--bgColor-1);
  color: var(--lightColor);
  border: none;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  outline: none;
}

.pagination button:hover:not(:disabled) {
  background-color: var(--secondaryColor);
  transform: scale(1.1);
}

.page-btn.active {
  background-color: var(--primaryColor);
  border: 2px solid var(--bgColor-1);
}

/* Responsive Heights for smaller screens */
@media (max-width: 768px) {
  .gallery-item {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    height: 200px;
  }
}

/* General styles for the Services page */
body#Services {
  background-color: var(--primaryColor);
  color: var(--lightColor);
  font-family: "Josefin Sans", sans-serif;
  margin: 0;
  padding: 0;
}

#services-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}

#services-container h1 {
  font-size: 45px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  color: var(--bgColor-2);
  margin-bottom: 40px;
  display: inline-block;
  position: relative;
}

/* Services grid layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Individual service items */
.service-item {
  background-color: var(--bgColor-1);
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 20px;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
}

/* Images for services */
.service-item img {
  width: 100%;
  height: 200px; /* Fixed height for uniformity */
  object-fit: cover;
  border-radius: 8px;
}

/* Title for services */
.service-item h3 {
  margin: 15px 0 10px;
  font-size: 20px;
  color: var(--bgColor-2);
}

/* Description for services */
.service-item p {
  top: 5px;
  font-size: 14px;
  color: var(--bgColor-2);
  line-height: 1.5;
}
/* General styles for the Contact page */
body#Contact {
  background-color: var(--primaryColor);
  color: var(--lightColor);
  font-family: "Josefin Sans", sans-serif;
  margin: 0;
  padding: 0;
}

#contact-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}

#contact-container h1 {
  font-size: 45px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  color: var(--bgColor-2);
  margin-bottom: 40px;
  display: inline-block;
  position: relative;
}

#contact-container p {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  line-height: 2;
  color: var(--lightColor);
  margin-bottom: 30px;
}

/* تنسيق القائمة (ul) */
.contact-info {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info li {
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

.contact-info li strong {
  font-weight: bold;
  color: #000;
}

/* إضافة رموز الهاتف و الفاكس */
.contact-info li .icon {
  margin-right: 8px;
  color: #007bff;
}

/* إضافة رمز البريد الإلكتروني */
.contact-info li .email-icons {
  display: flex;
  gap: 15px; /* مسافة بين الروابط */
  align-items: center; /* محاذاة الأيقونات والنص */
}

/* تعديل المسافة بين الرمز والبريد */
.contact-info li .email-icon {
  margin-right: 5px;
  color: #007bff;
}

/* تنسيق الروابط */
.contact-info li a {
  color: #007bff;
  text-decoration: none;
}

.contact-info li a:hover {
  text-decoration: underline;
}

/* استعلامات الوسائط لتوافق الشاشات الصغيرة */
@media (max-width: 768px) {
  .contact-info li {
    font-size: 16px; /* تقليل حجم الخط على الشاشات الصغيرة */
  }

  /* عرض البريد الإلكتروني بشكل عمودي على الشاشات الصغيرة */
  .contact-info li .email-icons {
    display: block; /* عرض الروابط بشكل عمودي */
    margin-top: 10px; /* إضافة مسافة أعلى بين البريدين */
  }

  .contact-info li .email-icon {
    display: inline-block; /* تأكيد أن الأيقونات تظهر بجانب النص */
    margin-right: 8px; /* إضافة مسافة بين الرمز والنص */
  }

  /* تحسين محاذاة الروابط */
  .contact-info li a {
    display: block; /* تحويل الرابط إلى كتلة لعرضه بشكل منفصل */
    margin-bottom: 5px; /* إضافة مسافة بين البريدين */
  }
}

/* Instagram Icon Link */
.social-link {
  margin: 20px 0;
}

.social-link a {
  display: inline-block;
  padding: 0.81rem 1.87rem;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  background-color: var(--bgColor-1);
  color: var(--lightColor);

  border: 2px solid var(--bgColor-1); /* Adds a border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Keeps the box shadow */
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease; /* Added border-color transition */
}

.social-link a:hover {
  background-color: var(--primaryColor);
  transform: scale(1.05);
  border-color: var(--bgColor-1); /* Changes border color on hover */
}

.social-link a i {
  margin-right: 10px;
  font-size: 24px;
}

/* Google Map Container */
.map-container {
  margin-top: 30px;
  width: 100%;
  max-width: 600px; /* نفس حجم الكمبيوتر */
  margin-left: auto;
  margin-right: auto;
}

.map-container h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--lightColor);
}

.map-container iframe {
  width: 100%; /* أهم سطر 🔥 */
  height: 400px; /* ارتفاع مناسب */
  border: 0;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile Fix */
@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
  }

  .map-container h2 {
    font-size: 20px;
    text-align: center;
  }
}

.directions-button {
  margin-top: 20px;
  text-align: center;
}

.directions-button .btn {
  display: inline-block;
  padding: 0.81rem 1.87rem;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  background-color: var(--bgColor-1);
  color: var(--lightColor);

  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.directions-button .btn:hover {
  background-color: var(--primaryColor);
  transform: scale(1.05); /* Slightly enlarge the button on hover */
}
/* ============================= */
/*          FOOTER STYLE         */
/* ============================= */

/* ====== تحكم بألوان الكونتاكت من هون ====== */
:root {
  --contact-text-color: #ffffff; /* لون الايميل + التلفون + اللوكيشن */
  --contact-icon-color: var(--bgColor-1); /* لون الأيقونات */
  --contact-hover-color: var(--bgColor-1); /* لون عند المرور بالماوس */
}
/* =========================================== */

/* Footer Container */
#main-footer {
  background-color: var(--bgColor-2);
  color: #ffffff;
  padding: 20px;
  font-size: 14px;
  font-family: "Arial", sans-serif;
}

/* Layout */
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--primaryColor);
  position: relative;
  z-index: 10;
}

/* Mobile */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

/* Sections */
.footer-section {
  flex: 1;
  min-width: 180px;
}

/* Headings */
.footer-section h3 {
  font-size: 18px;
  padding-left: 10px;
  margin-bottom: 20px;
  color: var(--bgColor-1);
}

/* About Text */
.footer-section p {
  font-weight: bold;
  line-height: 1.5;
  color: #f5f2f2;
}

/* Lists */
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

/* Quick Links */
.footer-section:nth-child(2) ul li a {
  text-decoration: none;
  font-weight: bold;
  color: var(--primaryColor);
  transition: 0.3s;
}

.footer-section:nth-child(2) ul li a:hover {
  color: var(--bgColor-1);
}

/* ============================= */
/*       CONTACT SECTION ONLY    */
/* ============================= */

/* كل عناصر الكونتاكت */
.footer-section:nth-child(3) ul li,
.footer-section:nth-child(3) ul li a {
  display: flex; /* كل العناصر بنفس الـ flex */
  align-items: center; /* محاذاة رأسية واحدة */
  gap: 10px; /* مسافة بين الأيقونة والنص */
  font-weight: bold; /* نفس الوزن لكل العناصر */
  color: var(--contact-text-color);
  text-decoration: none; /* إزالة الخط تحت الرابط */
  transition: 0.3s;
}

/* أيقونات الكونتاكت */
.footer-section:nth-child(3) ul li i {
  color: var(--contact-icon-color);
  min-width: 20px;
  text-align: center;
  display: inline-block;
  margin-right: 8px;
}

/* تأثير عند المرور على الروابط */
.footer-section:nth-child(3) ul li a:hover {
  color: var(--contact-hover-color);
  text-decoration: none;
}
/* Instagram Icon Size */
.footer-section .fab.fa-instagram {
  font-size: 18px;
  color: rgb(83, 252, 243);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  font-size: 13px;
  color: #bbbbbb;
}

/* Footer Developer Section */
.footer-developer {
  text-align: center;
  margin-top: 20px;
  padding: 10px 0;
  font-size: 12px;
  color: #dddddd;
  font-weight: bold;
}

.footer-developer p {
  margin: 5px 0;
}

.footer-developer p a {
  color: var(--lightColor);
  text-decoration: none;
  transition: 0.3s;
}

.footer-developer p a:hover {
  color: var(--bgColor-1);
}

/* Style the image preview container */
#image-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* Individual image preview */
.image-preview {
  position: relative;
  display: inline-block;
}

/* Thumbnail styling */
.thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 5px;
}

/* Delete button styling */
.delete-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  padding: 0;
}
/* Style for the image preview container */
#image-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

/* Style for each image preview */
.image-preview {
  position: relative;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 5px;
  background-color: var(--bgColor-1);
}

/* Style for the thumbnail images */
.image-preview img.thumbnail {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}

/* Style for the delete button */
.image-preview .delete-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: var(--secondaryColor);
  color: var(--lightColor);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

.image-preview .delete-button:hover {
  background-color: var(--primaryColor);
}
/* Pagination with Next / Previous */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 40px 0;
}

.pagination button {
  background-color: var(--bgColor-1);
  color: var(--lightColor);
  border: none;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.pagination button:hover:not(:disabled) {
  background-color: var(--secondaryColor);
  transform: scale(1.1);
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-btn.active {
  background-color: var(--primaryColor);
  border: 2px solid var(--bgColor-1);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 40px 0;
  z-index: 100; /* للتأكد من عدم تغطيتها */
  position: relative;
}

/* Pagination Container */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 40px 0;
}

/* Pagination Buttons */
.pagination button {
  background-color: var(--bgColor-1);
  color: var(--lightColor);
  border: none;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  z-index: 100;
  outline: none; /* يمنع الخط الأزرق عند التركيز */
  box-shadow: none; /* يلغي أي ظل افتراضي */
}

/* Hover Effect */
.pagination button:hover:not(:disabled) {
  background-color: red; /* اللون الجديد عند hover */
  transform: scale(1.1);
}

/* Disabled Buttons */
.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Active Page Button */
.page-btn.active {
  background-color: var(--primaryColor);
  border: 2px solid var(--bgColor-1);
}
/* ============================= */
/* WhatsApp Floating Button */
/* ============================= */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  z-index: 9999;

  /* باهت بالبداية */
  opacity: 0.5;
  transition: all 0.3s ease;
}

.whatsapp-float i {
  font-size: 22px;
}

.whatsapp-float span {
  color: #fdfafa; /* لون النص */
}

/* عند مرور الماوس عليه */
.whatsapp-float:hover {
  opacity: 1; /* يظهر بالكامل */
  background-color: #1ebe5d; /* أخضر أغمق */
  transform: scale(1.05); /* يكبر شوي */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35); /* يبرز أكثر */
}

/* موبايل */
@media (max-width: 600px) {
  .whatsapp-float span {
    display: none; /* نخفي النص بالموبايل */
  }

  .whatsapp-float {
    border-radius: 50%;
    padding: 14px;
    opacity: 0.8; /* باهت أقل بالموبايل */
  }

  .whatsapp-float:hover {
    opacity: 1; /* يظهر بالكامل عند hover */
  }
}
