@font-face {
  font-family: 'Regular';
  src: url(../font/ESBuildTRIAL-Regular.otf);
}

@font-face {
  font-family: 'Semibold';
  src: url(../font/ESBuildTRIAL-Semibold.otf);
}

:root {
  --blue-color: #1C75BC;
  --gray-color: #D4D7E3;
  --black-color: #0C1421;
  --blue-fontt-color: #1896FB;
  --gray-font-color: #8D98A9;
}

/* Reset */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Regular';
  background-color: rgb(254, 254, 254);
  display: flex;
  margin: 0;
}

/* Navbar */
.main-navbar {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background: transparent;
  /* شريط التنقل شفاف */
  font-family: 'Regular';
  position: relative;
  z-index: 10;
  /* التدرج يبدأ من هنا */
}

.not-main {
  position: absolute !important;
  background: transparent !important;
  width: 100%;
}

.remove-bk {
  background: transparent;
}

/* Navbar Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}

/* للحالة الخاصة بـ .secound */
.secound {
  color: #ffffff;
}

/* التفاعل عند hover و active في secound */
.secound:hover,
.secound.active {
  color: #ffffff;
}

/* اللون الافتراضي */
.nav-links li a {
  text-decoration: none;
  color: #8a8ea3;
  /* اللون الرمادي */
  font-size: 16px;
  transition: color 0.2s ease;
}

/* التفاعل عند hover و active */
.nav-links li a:hover,
.nav-links li a.active {
  color: #0c1421;
}

/* About Us Section */
.about-us {
  display: flex;
  justify-content: center;
  /* height: 70vh; */
  height: 50vh;
  align-items: center;
  background: linear-gradient(180deg, #000000 0%, #1C75BC 71.72%, #FFFFFF 100%);
  padding: 10px 20px;
}
/* 
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  width: 100%;
} */

.text-section {
  flex: 1;
  text-align: center;
}

.text-section h2 {
  font-size: 36px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.text-section .description {
  font-size: 18px;
  color: #C0C0C0;
  margin-bottom: 20px;
  max-width: 600px;
  margin: 20px auto;
}

.request-section .description {
  max-width: 600px;
  margin: 20px auto;
}

.slide-content a {
  color: white;
  background-color: var(--blue-color);
  border: 1px solid var(--blue-color);
  transition: all 0.3s ease;
}

.slide-content a:hover {
  color: var(--blue-color);
  background-color: white;
}

/* Section Styling */
.our-story {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
}

/* .container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
} */

.text-sectionstory {
  flex: 1;
  padding-right: 40px;
}

.text-sectionstory h1 {
  color: var(--blue-color);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-align: start;
  font-size: 32px;
  font-family: 'Semibold';
  font-weight: 600;
}

.text-sectionstory h2 {
  font-size: 18px;
  color: var(--blue-color);
  font-weight: 300;
  margin-bottom: 0px;
}

.text-sectionstory .suptitel{
  font-size: 32px;
  color: #000;
  font-weight: 300;
}

.text-sectionstory p {
  font-size: 18px;
  line-height: 1.6;
  color: #6C6C6C;
  margin-bottom: 20px;
  font-weight: 200;
}

.image-section {
  flex: 1;
  text-align: center;
}

.image-section img {
  width: 70%;
  max-width: 350px;
  height: auto;
  border-radius: 10px;
  /* إضافة تدوير الزوايا للصورة */
}
/* Section Styling */
.why-choose-us {
  padding: 50px 60px;
  text-align: center;
}

.categories h2 {
  color: #000;
  font-size: 36px;
  margin-bottom: 20px;
  text-align: start;
}

.content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.categories {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Button Styling */
.category {
  background-color: #fff;
  padding: 25px 40px;
  font-size: 18px;
  border: 1px solid #DDDDDD;
  cursor: pointer;
  text-align: left;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 50px;
  width: 100%;
  color: #333;
}

.category:hover {
  background-color: var(--blue-color);
  color: white;
  border-color: var(--blue-color);
}

.category span {
  font-size: 20px;
  margin-left: 10px;
}

.category.active {
  background-color: var(--blue-color);
  color: white;
  border-color: var(--blue-color);
}

/* Content Styling */
.content-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-info h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #6C6C6C;
  font-weight: 400;
  margin: 50px 0px 30px 0px;
}

.content-info ul {
  list-style: none;
  padding: 0;
}

.content-info ul li {
  font-size: 18px;
  margin-bottom: 10px;
  color: #555;
  text-align: left;
}

/* New Content Box Styling */
.content-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.content-box ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;  /* تحديد العرض ليظهر عنصرين في كل صف */
}

.content-box ul li {
  padding: 25px;
  background-color: #fff;
  border: 1px solid #F1F1F3;
  border-radius: 12px;
  color: #9CA3AF;
  width: calc(50% - 5px);
}


/* Hide all content sections by default */
.platform-content, .software-content, .improvement-content {
  display: none;
}

/* Show the content corresponding to the selected button */
.platform-content.active {
  display: block;
}

.software-content.active {
  display: block;
}

.improvement-content.active {
  display: block;
}

/* Section Styling */
.featured-posts {
  padding: 10px 80px;
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
}

.featured-posts h2 {
  color: #000;
  font-size: 36px;
  margin-bottom: 30px;
}

.post-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0 20px;
}

.post-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

.post-card img {
  width: 100%;
  border-radius: 20px;
  height: 350px;
  object-fit: cover;
}

.post-card h3 {
  font-size: 20px;
  color: #101828;
  padding: 0 10px;
  margin: 25px 0 10px;
}

.post-card p {
  text-align: start;
  font-size: 16px;
  color: #667085;
  padding: 0 10px;
}


/* Hover Effect */
.post-card:hover {
  transform: translateY(-10px);
}

/*  */
.services-inindustries {
  padding: 0px 80px;
  display: flex;
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto;
  width: 90%;
}

.categories-inindustries {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 80vh;
  overflow: hidden;
  overflow-y: auto;
  padding: 15px;
  direction: rtl;
}

/* Custom scrollbar styling */
.categories-inindustries::-webkit-scrollbar {
  width: 2px;
}

.categories-inindustries::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.categories-inindustries::-webkit-scrollbar-thumb {
  background: var(--blue-color);
  border-radius: 10px;
}

.categories-inindustries::-webkit-scrollbar-thumb:hover {
  background: #1565a3;
}

/* For Firefox */
.categories-inindustries {
  scrollbar-width: thin;
  scrollbar-color: var(--blue-color) #f1f1f1;
}

/* Reset direction for content inside */
.categories-inindustries .category-inindustries {
  direction: ltr;
}

/* Button Styling */
.category-inindustries {
  font-family: 'Semibold';
  background-color: #FFF;
  padding: 12px 30px;
  font-size: 16px;
  border: 0px solid #ccc;
  cursor: pointer;
  text-align: left;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 16px;
  width: 100%;
  color: #8E92BC;
  position: relative;
}

.category-inindustries:hover {
  background-color: var(--blue-color);
  color: white;
  border-color:  var(--blue-color);
}

.category-inindustries.active {
  background-color:  var(--blue-color);
  color: white;
  border-color:  var(--blue-color);
  font-weight: bold;
}

.category-inindustries.active::after {
  content: ''; /* لا شيء يتم إضافته هنا ولكن يُستخدم لإظهار الخط */
  position: absolute;
  right: -15px;  /* وضع الخط تحت الزر */
  width: 3px;
  height: 80%; /* عرض الخط */
  background-color:  var(--blue-color); /* لون الخط */
}


.content-inindustries {
  width: 75%;
  display: flex;
  flex-direction: column;
  color: #000;
}
.service-content-inindustries h3{
  font-family: 'Semibold';
  color: #000;
}
.service-content-inindustries p{
  font-weight: 400;
  line-height: 40px;
  color: #656565;
}
.service-content-inindustries {
  display: none;
}

.service-content-inindustries.active {
  display: block;
}
/* Section Styling */
.real-solutions {
  padding: 50px 100px;
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
}

.real-solutions h2 {
  text-align: start;
    font-size: 32px;
    margin-bottom: 40px;
    color: #092857;
    font-family: 'Semibold';
    letter-spacing: 1px;
    font-weight: 600;
}

/* Flexbox container for the 3 columns */
.solutions-container {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.solution-card {
  border-radius: 8px;
  width: 30%;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-10px);
}


.solution-card h3 {
  font-size: 24px;
  color: #000;
  font-family: 'Regular';
  margin: 15px 0 10px;
  font-weight: 400;
}

.solution-card p {
  color: #666;
  font-size: 16px;
  font-family: 'Regular';
  line-height: 1.5;
}

/* ============================
   الخط الزمني الرئيسي (الخط بالنص)
============================ */
.timeline {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  margin: 60px 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    #1C75BC,
    #1C75BC 20px,
    transparent 7px,
    transparent 26px
  );
  transform: translateX(-50%);
  z-index: 0;
}


/* ============================
   البلوك الأساسي في الخط الزمني
============================ */
.timeline-section {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  padding: 30px 20px;
}

.timeline-section.left {
  left: 0;
}

.timeline-section.right {
  left: 50%;
}
.timeline-section + .timeline-section {
  margin-top: -100px; /* تقدر تعدل الرقم حسب المسافة اللي تعجبك */
}
/* الخط الصغير اللي بيطلع من النص */
.timeline-section.left::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px;
  width: 40px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--blue-color),
    var(--blue-color) 20px,
    transparent 7px,
    transparent 26px
  );
}

.timeline-section.right::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0px;
  width: 40px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--blue-color),
    var(--blue-color) 20px,
    transparent 7px,
    transparent 26px
  );
}


/* ============================
   شكل الكرت نفسه (مشترك)
============================ */
.timeline-box.split {
  margin-right: 30px;
  display: flex;
  gap: 30px;
  background: white;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.timeline-box.split.reverse {
  flex-direction: row-reverse;
}

/* ============================
   الدائرة الخاصة بالرقم
============================ */
.circle-side {
  flex-shrink: 0;
}

.circle {
  background-color: #2c6fc6;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================
   المحتوى: صورة + عنوان + نص
============================ */
.content-side {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.content-side img {
  width: 60px;
  height: auto;
}

.content-side h2 {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0;
  text-align: left;
}

.content-side p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.6;
  text-align: left;
}

/* إذا كانت معكوسة (right مع .reverse) */
.timeline-box.reverse .content-side {
  align-items: flex-start;
}

.timeline-box.reverse .content-side h2,
.timeline-box.reverse .content-side p {
  text-align: left;
}
/* أضفه في ملف الـ CSS اللي تستعمله */

/* الصندوق الأبيض المستدير */
.form-section{
  background-color: transparent;
  padding: 100px 20px 10px 20px;
  text-align: center;
  margin: -200px auto 0 !important;
  max-width: 900px;
  width: 90%;
}
.field-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  text-align: start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 0 20px 0;
}

/* عنوان الحقل */
.field-card label {
  display: block;
  font-size: 1.2rem;
  color: #000;
  margin-bottom: 0.5rem;
}

/* حقل الإدخال بخط سفلي فقط */
.field-card input,
.field-card textarea{
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #333;
  outline: none;
}

.field-card input::placeholder {
  color: #aaa;
}

/* ============================
   Responsive (اختياري)
============================ */
@media (max-width: 992px) {
  #navMenu {
    display: none;
    flex-direction: column; /* لو حابب تخليها عمودية لما تظهر */
  }
  /* صنف نشّط يظهر القائمة */
  #navMenu.open {
    display: flex !important;
    gap: 5px;
    height: 100vh;
  }

  .timeline {
    padding: 30px 15px;
  }

  .timeline::before {
    left: 20px;
    width: 2px;
    height: 100%;
  }

  .timeline-section {
    width: 100%;
    padding: 20px 0;
  }

  .timeline-section.left,
  .timeline-section.right {
    left: 0;
  }
  .timeline-section.left::after,
  .timeline-section.right::after {
    left: 20px;
    right: auto;
    transform: none;
  }

  /* شكل البلوك العادي */
  .timeline-box.split,
  .timeline-box.split.reverse {
    flex-direction: row;
    
    gap: 20px;
    padding: 20px;
    margin-right: 0px;
    margin-left: 30px;
  }

  .circle-side {
    margin-left: 10px;
  }

  .content-side,
  .timeline-box.reverse .content-side {
    align-items: flex-start;
    text-align: left;
  }

  .timeline-section + .timeline-section {
    margin-top: 10px; /* تقدر تعدل الرقم حسب المسافة اللي تعجبك */
  }
  /* شكل البلوك الأزرق (right-inline) */
  .timeline-box.right-inline {
    flex-direction: row;
    align-items: flex-start;
    margin: 0;
    padding: 20px;
  }

  .right-inline-content {
    align-items: flex-start;
  }

  .right-inline-content h2,
  .right-inline-content p {
    text-align: left;
  }
}
@media (min-width: 769px) {
  #navMenu.open {
    display: flex !important; /* العرض العادي */
  }
  .footer-left {
    padding-top: 75px;
  }
  .footer-right {
    flex-direction: row;
    gap: 30px;
    margin-top: 30px;
    margin-right: 0;
    justify-content: space-evenly;
    display: flex;
  }
}
/* ============================
   Right Blue Style (رقم + أيقونة + عنوان + وصف) بخلفية زرقاء
============================ */
.timeline-box.right-inline {
  display: flex;
  margin-left: 30px;
  background-color: #2c6fc6;
  color: white;
  border-radius: 30px;
  padding: 30px;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.timeline-box.right-inline .circle {
  background-color: white;
  color: #2c6fc6;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.right-inline-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.right-inline-content img {
  width: 60px;
  height: auto;
}

.right-inline-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: white;
}

.right-inline-content p {
  font-size: 15px;
  color: white;
  line-height: 1.6;
  margin: 0;
}
.store-categories{
  margin-top: -60px;
  text-align: start;
  z-index: 1;
  position: relative;
}
.store-categories .container div{
  background-color: #fff;
  width: fit-content;
  padding:10px 15px;
  margin: unset;
  border-radius: 45px;
  box-shadow: 0px 22px 49px 0px rgba(28, 117, 188, 0.1);

}
.store-categories .container div button{
  font-size: 14px;
  padding: 15px 35px;
  border-radius: 25px;
}
.store-categories .container div button.active{
  background-color: rgba(28, 117, 188, 1);
  color: #fff;

}
.products{
  margin: 70px 0;
  display: none;
}
.products.active{
  display: block;
}
.product{
  width: 100%;
  box-shadow: 0 8px 20px rgba(28, 117, 188, 0.08),
              0 2px 8px rgba(28, 117, 188, 0.06);
  background-color: #fff;
  border-radius: 30px;
  padding: 35px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(28, 117, 188, 0.08);
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(28, 117, 188, 0.12),
              0 4px 12px rgba(28, 117, 188, 0.08);
}

.product img{
  max-width: 150px;
  transition: transform 0.3s ease;
}

.product:hover img {
  transform: scale(1.05);
}

.product h3{
  color: #000;
  margin-top: 20px;
  font-weight: 500;
  font-size: 25px;
  transition: color 0.3s ease;
}

.product:hover h3 {
  color: var(--blue-color);
}

.product .priceAndColors{
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid rgba(203, 206, 209, 0.2);
  border-bottom: 1px solid rgba(203, 206, 209, 0.2);
}

.product .priceAndColors span{
  color: #1C75BC;
  font-weight: 600;
  font-size: 18px;
}

.product .priceAndColors .colors{
  display: flex;
  gap: 12px;
}

.product .priceAndColors .colors span{
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #000;
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}

.product .priceAndColors .colors span:hover {
  transform: scale(1.2);
  border-color: var(--blue-color);
}

.product .controls{
  display: flex;
  margin-top: 20px;
  gap: 15px;
}

.product .controls button {
  background-color: #1C75BC;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product .controls button:hover {
  background-color: #1565a3;
  transform: translateY(-2px);
}

.product .controls a{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid #1C75BC;
  transition: all 0.3s ease;
  color: #1C75BC;
}

.product .controls a:hover {
  background-color: #1C75BC;
  color: white;
  transform: translateY(-2px);
}

.product .controls a:hover iconify-icon{
  color: white !important;
}

#selectedColor {
  margin: 10px 0;
}

.product-details{
  margin: 80px 0 0;
}
.product-details swiper-slide{
  padding-left: 85px;
}
.product-details .product-slider img{
  border-radius: 20px;
 background-color: rgba(241, 242, 247, 1);
 width: 100%;
 object-fit: contain;
}
.product-info{
  color: #000;
  padding-left: 25px;
}
.product-info .quantity{
  margin-top: 20px;
}
.product-info .quantity button{
  background: rgba(28, 117, 188, 1);
  color: #fff;
  border-radius: 10px;
  margin-top: 8px;
  margin-left: 10px;
  flex-grow: 1;
  padding: 10px 0;
  box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.15);

}
.product-info .quantity .amount {
  display: flex;
  margin-top: 8px;
  border: 1px solid rgba(238, 238, 238, 1);width: fit-content;
}
.product-info .quantity .amount span {
  width: 30px;
  height: 35px;
  font-size: 20px;
  font-weight: bold;
  background: #ffffff;
  cursor: pointer;
}
.product-info .quantity .amount .decrease {
  z-index: 5;
}
.product-info .quantity .amount .increase {
  z-index: 5;
}
.product-info .quantity .amount .result {
  background: #fff;
  width: 100px;
  border-radius: 0;
  color: #000;
  padding-top: 6px;
}
.product-info .quantity .amount .disabled {
  cursor: no-drop;
}
.product-info .rate span{
  display: inline-block;
  margin-left: 10px;
  font-size: 15px;
}

.product-info .price span{
  display: inline-block;
  margin: 0;
  margin-right: 15px;
  font-size: 20px;
  color: #000;
}
.product-info .number-of-watchs{
  margin-top: 0;
}
.product-info .number-of-watchs p{
  display: inline-block;
  margin: 0;
  margin-left: 15px;
  color: rgba(138, 138, 138, 1);
  font-size: 15px;
}
.product-info .price .discount{
  background: rgba(218, 63, 63, 1);
  font-size: 13px;
  color: #fff;
  padding: 5px 15px;
  border-radius: 10px;
  margin-left: 15px;
}
.product-info .price del{
  display: inline-block;
  color: gray;
}
.center{
  display: flex !important;
  justify-content: center;
  align-items: center;
}
.product-info .size {
  margin-top: 15px;
  margin-bottom: 15px;
}

.product-info .size .sizes {
  display: flex;
}
.product-info .size .sizes span {
  margin-right: 15px;
  font-size: 14px;
  color: #000000;
  min-width: 40px;
  height: 40px;
  border-color: #e2e2e2;
  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  padding: 0 10px;
}
.product-info .size .sizes .active-size {
  border-color: #e2e2e2;
  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
  background: #1C75BC;
  color: #fff;
}
.product-info .color .colors {
  display: flex;
}
.product-info .color .colors span {
  cursor: pointer;
  margin-right: 15px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}
.product-info .color .colors span i {
  display: none;
}
.product-info .color .colors .active-color i {
  display: block !important;
}
.product-info span{
  color: gray;
  display: block;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-details-sections .container div{
  border-radius: 10px !important;
}
.product-details-sections .container div button{
  border-radius: 10px !important;
}
.cart form input, .cart form select{
  margin: 10px 0;
  padding: 10px;
  border: 1px solid rgba(202, 202, 202, 1);
  border-radius: 10px;
}
.cart form label{
  text-transform: uppercase;
}
.cart form button{
  background-color: #1C75BC;
  color: #fff;
  width: 200px;
  padding: 10px 0;
  margin: 20px 0 60px;
  margin-left: calc(100% - 200px);
}
.cart form .inside-group{
  display: flex;
  gap: 15px;
}
.cart form input:focus,.cart form select:focus{
  border-color: #1C75BC;
  box-shadow: none;
}
.cart-products{
  border: 1px solid rgba(202, 202, 202, 1);
  border-radius: 15px;
  padding: 25px;
  color: #000;
}
.cart-products .head{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-products .head span{
  color: rgba(0, 14, 138, 1);
}
.cart-product{
  display: flex;
  margin: 30px 0;
  width: 100%;
}
.cart-product .image img{
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-right: 15px;
}
.cart-product .info{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 15px;
}
.cart-products .subtotal{
  margin-bottom: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(223, 223, 223, 1);
}
.cart-products .subtotal div{
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  text-transform: capitalize;
}
.cart-product .info .name,.cart-product .info .price{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.cart-product .name div span{
  color: gray;
}
.cart-product .info .name h6{
  max-width: 250px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0;
}
/* Responsiveness for smaller screens */
@media (max-width: 992px) {
  .solution-card {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Responsiveness for smaller screens */
@media (max-width: 992px) {
  /* تغيير ترتيب العناصر في .our-story */
  .our-story {
    flex-direction: column; /* ترتيب العناصر عموديًا */
    align-items: center;
    padding: 0px; /* تقليل الهوامش */
  }

  .container {
    flex-direction: column; /* ترتيب الحاوية عموديًا */
    align-items: center; /* محاذاة المحتوى في المنتصف */
  }

  .text-section, .image-section {
    width: 100%; /* جعل كل قسم يشغل العرض بالكامل */
    text-align: center;
  }

  .text-section h2 {
    font-size: 24px; /* تقليل حجم الخط */
  }

  .text-section .description {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .image-section img {
    width: 70%; /* تأكد من أن الصورة تأخذ عرض الشاشة بالكامل */
    height: auto;
    border-radius: 10px;
  }

  /* تعديل الـ Grid layout للـ Featured Posts */
  .post-container {
    grid-template-columns: 1fr; /* جعل البطاقات في عمود واحد */
    gap: 20px;
  }

  .post-card {
    width: 100%; /* جعل كل بطاقة تشغل عرض الشاشة بالكامل */
    margin-bottom: 20px;
  }

  .post-card img {
    height: 250px;
    object-fit: cover; /* تأكيد ملائمة الصورة */
  }

  .post-card h3, .post-card p {
    font-size: 18px; /* تقليل حجم الخط ليكون مناسبًا للهواتف */
  }

  /* تغيير الأزرار لتكون مناسبة أكثر */
  .category {
    width: 100%; /* جعل الأزرار تأخذ العرض بالكامل */
    padding: 15px 30px;
  }
  .form-section{
    margin: -200px 0 0 0;
  }
  /* About Us Section adjustments */
  .about-us {
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .about-us .container {
    flex-direction: column;
    align-items: center;
  }

  /* Our Story Section adjustments */
  .text-sectionstory h2 {
    font-size: 22px;
  }

  .text-sectionstory p {
    font-size: 16px;
    line-height: 1.6;
  }
 
  .image-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0px 0 50px 0;
  }
  

  /* Why Choose Us Section adjustments */
  .categories h2 {
    font-size: 30px;
  }

  .content {
    flex-direction: column;
    gap: 20px;
  }

  .category {
    width: 100%; /* جعل الأزرار تشغل العرض بالكامل */
    padding: 15px 30px;
    font-size: 16px;
  }

  .category span {
    font-size: 18px;
  }

  .content-info h3 {
    font-size: 18px;
  }

  .content-box ul li {
    padding: 20px;
  }

  .featured-posts{
    padding: 10px 30px;
  }
  .post-card img {
    height: 250px;
  }

  .post-card h3 {
    font-size: 18px;
  }

  .post-card p {
    font-size: 14px;
  }

  /* Services in Industries Section adjustments */
  .services-inindustries {
    flex-direction: column;
    gap: 30px;
  }

  .categories-inindustries {
    width: 100% !important;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 15px 0px;
    font-size: 16px;
  }
  .category-inindustries{
    width: calc(50% - 10px);
  }

  .category-inindustries.active::after {
    width: 2px;
  }

  /* Real Solutions Section adjustments */
  .solutions-container {
    flex-direction: column;
    gap: 30px;
  }

  .solution-card {
    width: 100%;
    margin-bottom: 20px;
  }

  .solution-card h3 {
    font-size: 22px;
  }

  .solution-card p {
    font-size: 14px;
  }

  /* Update post-card */
  .post-card {
    width: 100%;
    margin-bottom: 20px;
  }

  .post-card img {
    width: 100%;
    height: auto;
  }

  .post-card h3 {
    font-size: 18px;
  }

  .post-card p {
    font-size: 14px;
  }
  .content-box ul{
    flex-direction: column;
  }
  .content-box ul li{
    width: 100%;
  }
}
/* Responsiveness for smaller screens */
@media (max-width: 992px) {
  .why-choose-us {
    padding: 30px 20px;
    text-align: center;
  }

  .client-img {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    left: 49%;
    transform: translateX(-50%);
    top: 15px;
    object-fit: cover;
  }
  section.clients .container .reviews .bk {
    width: 100%;
  }
  swiper-slide .info h2 {
    color: rgba(9, 40, 87, 1);
    font-size: 16px;
  }

  swiper-slide .info p {
    color: rgba(99, 111, 130, 1);
    font-size: 12px;
    line-height: 16px;
    max-width: 260px;
    margin: auto;
  }


  .categories {
    width: 100%; /* جعل الكاتيجوريات تشغل العرض الكامل */
    flex-direction: column; /* ترتيب العناصر عموديًا */
    gap: 20px;
  }

  .category {
    width: 100%; /* جعل الأزرار تشغل العرض بالكامل */
    padding: 18px 30px;
    font-size: 16px;
  }

  .content {
    flex-direction: column; /* ترتيب العناصر عموديًا */
    gap: 20px;
  }
  .content-box ul{
    width: 100%;
  }
  .certification-section h2 {
    font-size: 25px;
    color: #0B1B43;
    margin-bottom: 40px;
    font-weight: bold;
  }
  .real-solutions {
    padding: 50px 15px;
    text-align: center;
    max-width: 1440px;
    margin: 0 auto;
    width: 90%;
  } 
  .real-solutions h2 {
    text-align: center;
  }
  .solutions-container {
    flex-direction: column;
    gap: 0;
  }

  .timeline-box.right-inline .circle {
    background-color: white;
    color: #2c6fc6;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .circle {
    background-color: #2c6fc6;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .store-categories {
    margin-top: 40px;
    text-align: start;
  }
  .products.active {
    display: block;
    width: 90%;
    margin: 70px auto;
  }
  .product-details {
    margin: 40px 0 0;
  }
  .store-categories .container div {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: space-around;
  }
  .store-categories .container div button {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 25px;
  }
  .custom-frame-content-text {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px !important;
    color: white;
    max-width: 240px;
  }
  .custom-frame-content-text a {
    color: var(--blue-color);
    background: white;
    text-align: center;
    max-width: 160px;
    padding: 10px;
  }
  .process-container {
    flex-direction: column-reverse;
    gap: 30px;
  }
}

.video-play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  cursor: pointer;
  width: 30%;
}

.video-play-overlay i{
  font-size: 90px;
  color: #245391;
  border-radius: 50%;
}

.custom-frame-section {
  padding: 80px 0px 120px;
  background-color: #ffffff;
  transform: translateX(40px) !important;
  width: calc(100% - 40px);
}


.custom-frame-content-text {
  position: absolute;
  top: 50%;
  left: 100px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: white;
  max-width: 450px;
}

.custom-frame-content-text h2{
  font-size: 45px;
  font-weight: 600;
}

.custom-frame-content-text a{
  color: var(--blue-color);
  background: white;
  text-align: center;
  max-width: 250px;
}

.service-content-inindustries img {
  width: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}


@media(max-width:550px){
  .category-inindustries{
    width: 100%;
  }
  .custom-frame-section {
    width: 100% !important;
}
  
  .custom-frame-section .container {
    position: relative;
    padding: 0 !important;
  }

  .custom-frame-section img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    object-position: left;
  }
  .custom-frame-section {
    padding: 80px 0px 60px;
    background-color: #ffffff;
    transform: translateX(0px) !important;
  }
  .custom-frame-content-text h2 {
    font-size: 35px;
    font-weight: 600;
  }
  .process-container-nightshift {
    flex-direction: column-reverse;
  }
  .process-section-nightshift {
    padding: 0 40px 120px;
  }
  .custom-frame-content-text {
    position: absolute;
    top: 50%;
    left: 70px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 40px;
    color: white;
    max-width: 450px;
  }
  .services-inindustries {
    padding: 0px 5px;
    display: flex;
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto;
  }
  .content-inindustries {
    width: 100%;
    display: flex;
    flex-direction: column;
    color: #000;
  }
  .categories-inindustries {
    width: 100% !important;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 15px 0px;
    font-size: 14px;
    overflow-x: scroll;
    gap: 5px;
    margin: 0 10px;
  }
  .main-navbar {
    height: 60px !important;
  }
  .category-inindustries {
    font-family: 'Semibold';
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    text-align: center;
    display: block;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 16px;
    position: relative;
  }
  .category-inindustries.active::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 15%;
    height: 75%;
    background-color: var(--blue-color);
    display: none;
  }
  .service-content-inindustries img {
    width: 150px;
    object-fit: contain;
    margin-bottom: 10px;
  }
  .add-background {
    background-image: url(../img/platform-bg.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-color: rgb(254, 254, 254);
    padding: 100px 0 20px !important;
    background-size: cover !important;
  }
  .footer-right {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    margin-right: 0;
    justify-content: space-evenly;
    display: flex;
  }
  .text-sectionstory .suptitel{
    font-size: 25px !important;
    color: #000;
    font-weight: 300;
    text-align: start;
    line-height: 30px;
  }
}

.add-background {
  background-image: url(../img/platform-bg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: top left;
  background-color: rgb(254, 254, 254);
  padding: 60px 0;
}
