/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  overflow-x: hidden;
  /* Removing padding-top to allow content to flow under transparent navbar */
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Navbar Styles */
.navbar {
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
}

.navbar.scrolled {
  background-color: #000067 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #fff !important; /* Force white color for all navbar links */
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff !important; /* Keep white on hover and active */
  opacity: 0.8;
}

.nav-links .lang,
.nav-links .search {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff !important;
}

.nav-links .lang img {
  height: 12px;
  margin-right: 5px;
}

.mobile-menu-btn {
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* For smaller screens */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s;
}

.navbar.scrolled .nav-links a {
  color: #fff;
}

.nav-links a:hover,
.nav-links a.active {
  color: #e63946;
}

.nav-links .lang img {
  height: 12px;
  margin-right: 5px;
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Main Slider Styles */
.main-slider {
  height: 80vh;
  position: relative;
  margin-top: 0; /* Ensure slider starts from the top */
}

.main-slider .swiper-slide {
  display: flex;
  position: relative;
}

.slide-content {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #fff;
  max-width: 600px;
}

.slide-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 400;
}

.slide-content h1 {
  font-size: 48px;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.slide-content h2 {
  color: rgb(0, 0, 0) !important;
}

.more-info-btn {
  display: inline-block;
  background-color: #e63946;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.more-info-btn:hover {
  background-color: #c1121f;
}

.slide-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.main-slider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 29, 29, 0.4);
    z-index: 1;
}

.main-slider .swiper-pagination {
  position: absolute;
  bottom: 30px;
  z-index: 10;
}

.main-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #fff;
  opacity: 0.5;
}

.main-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: #e63946;
}

/* Partners Slider Styles */
.partners-slider {
  background-color: #ffffff;
  padding: 20px 0;
}

.partners-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.partners-slider img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  filter: none !important;   /* تأكيد إزالة أي تأثير لون */
  opacity: 1 !important;      /* تأكيد الظهور الكامل */
  transition: transform 0.3s ease; /* فقط تأثير حركة */
}

.partners-slider .swiper-slide:hover img {
  transform: scale(1.05); /* تأثير خفيف عند الـ hover */
  filter: none !important;
  opacity: 1 !important;
}

/* Industrial News Section */
.news-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .blue-line {
  margin: 0 auto 20px;
}

.section-description {
  color: #666;
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.news-slider {
  padding: 30px 0;
  position: relative;
}

.news-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin: 10px;
  position: relative;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #00a0e4;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
  height: 50px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  height: 67px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00a0e4;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s, transform 0.3s;
  align-self: flex-start;
}

.news-link:hover {
  color: #0078a8;
  transform: translateX(5px);
}

.news-link i {
  font-size: 12px;
  transition: transform 0.3s;
}

.news-link:hover i {
  transform: translateX(3px);
}

.news-slider .swiper-pagination {
  bottom: -10px;
}

.news-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}

.news-slider .swiper-pagination-bullet-active {
  background: #00a0e4;
}

/* Responsive styles for News section */
@media (max-width: 992px) {
  .news-section .section-header h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .news-section .section-header h2 {
    font-size: 26px;
  }

  .news-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .news-section {
    padding: 50px 0;
  }

  .news-section .section-header h2 {
    font-size: 24px;
  }

  .news-card {
    margin: 5px;
  }
}

/* Products Section Styles - Updated */
.products-section {
  padding: 80px 0;
  background-color: #f5f8fc;
}

.section-header {
  text-align: left;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 700;
}

.blue-line {
  width: 80px;
  height: 4px;
  background-color: #00a0e4;
  margin-bottom: 20px;
}

.section-header p {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.section-header .description {
  color: #777;
  font-size: 15px;
  max-width: 800px;
}

.products-slider {
  padding: 20px 0;
  overflow: visible;
}

.products-slider .swiper-wrapper {
  padding: 20px 0;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 10px;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 220px;
  overflow: hidden;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
  height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-info p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
  height: 63px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.view-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00a0e4;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s, transform 0.3s;
  align-self: flex-start;
}

.view-details-btn:hover {
  color: #0078a8;
  transform: translateX(5px);
}

.view-details-btn i {
  font-size: 12px;
  transition: transform 0.3s;
}

.view-details-btn:hover i {
  transform: translateX(3px);
}

.products-slider .swiper-pagination {
  bottom: -10px;
}

.products-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}

.products-slider .swiper-pagination-bullet-active {
  background: #00a0e4;
}

/* Add navigation buttons */
.products-slider .swiper-button-next,
.products-slider .swiper-button-prev {
  color: #00a0e4;
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.products-slider .swiper-button-next:hover,
.products-slider .swiper-button-prev:hover {
  background-color: #00a0e4;
  color: #fff;
}

.products-slider .swiper-button-next:after,
.products-slider .swiper-button-prev:after {
  font-size: 18px;
}

/* Responsive styles for Products section */
@media (max-width: 992px) {
  .section-header h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 26px;
  }

  .product-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .products-section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }
}

.excellence-section {
  padding: 80px 0;
  background-color: #fff;
}

.excellence-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.excellence-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.excellence-image img {
  width: 100%;
  height: auto;
  display: block;
}

.excellence-text {
  flex: 1;
}

.excellence-text h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.excellence-text p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 15px;
}

.excellence-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  color: #00a0e4;
  font-size: 20px;
}

.feature-text {
  color: #333;
  font-weight: 500;
}

.about-company-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #00a0e4;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
  border-bottom: 2px solid #00a0e4;
  padding-bottom: 5px;
}

.about-company-btn:hover {
  color: #0078a8;
}

/* Responsive styles for Excellence section */
@media (max-width: 992px) {
  .excellence-content {
    flex-direction: column;
  }

  .excellence-image,
  .excellence-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .excellence-features {
    grid-template-columns: 1fr;
  }

  .excellence-text h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .excellence-section {
    padding: 50px 0;
  }

  .excellence-text h2 {
    font-size: 24px;
  }
}

/* Highlights Section */
.highlights {
  position: relative;
  padding: 60px 0;
  background-image: url("images/highlights-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #f8f9fa;
  text-align: center;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.highlights .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 30, 60, 0.8);
  z-index: 1;
}

.highlights .container {
  position: relative;
  z-index: 2;
}

.highlights h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 600;
  color: #00a0e4; /* تغيير لون العنوان إلى أزرق فاتح */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  margin: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-box:last-child {
  border-left: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  color: #ffc107; /* تغيير لون الأرقام إلى ذهبي */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff; /* تغيير لون العناوين الفرعية إلى أبيض ساطع */
  font-weight: 600; /* زيادة سمك الخط */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* إضافة ظل للنص */
}

/* Responsive Styles for Highlights */
@media (max-width: 992px) {
  .stats-container {
    flex-wrap: wrap;
  }

  .stat-box {
    flex: 0 0 calc(50% - 20px);
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .stat-box:nth-child(even) {
    border-left: none;
  }

  .stat-box:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .highlights h2 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .stat-box {
    flex: 0 0 100%;
  }

  .stat-box:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .stat-box:last-child {
    border-bottom: none;
  }
}
/* تعديل على أنماط السلايدر */
.products-slider,
.news-slider {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.swiper-slide {
  width: auto;
  height: auto;
}

.product-card,
.news-card {
  width: 100%;
  margin: 0 auto;
}

/* تأكد من أن أزرار التنقل لا تتجاوز حدود الحاوية */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev {
  left: 10px;
}

/* Main Content Styles */
main {
  background-color: white;
  min-height: 500px;
}

.content-left {
  flex: 1;
  padding-right: 40px;
}

.content-right {
  flex: 1;
}

h1 {
  color: #333;
  margin-bottom: 10px;
  font-size: 28px;
}

.underline {
  width: 50px;
  height: 3px;
  background-color: #00a8e8;
  margin-bottom: 20px;
}

.features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-item i {
  color: #00a8e8;
  margin-right: 10px;
  font-size: 18px;
}

/* Form Styles */
form {
  width: 100%;
}

.form-group {
  margin-bottom: 15px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

textarea {
  resize: vertical;
}

.submit-btn {
  background-color: #003087;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
}

.submit-btn:hover {
  background-color: #002266;
}
