/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* الفيديو */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

/* Overlay للتعتيم */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 31, 36, 0.5),
    rgba(26, 31, 36, 0.85)
  );
  z-index: -1;
}

/* محتوى الهيرو */
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #F5F5F5;
  padding: 0 20px;
}

/* اللوجو */
.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px; /* ارتفاع اللوجو */
}

.hero-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain; /* يظهر المحتوى بدون ضغط */
  display: block;
}


/* الكلمات المفتاحية */
.hero-keywords {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #F5F5F5;
}

.hero-subkeywords {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #C0C0C0;
  letter-spacing: 2px;
}

/* النص الرئيسي */
.hero-text {
  font-size: 18px;
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #F5F5F5;
}

/* CTA Button */
.hero-cta {
  background: #7A262A;
  padding: 12px 30px;
  border-radius: 25px;
  color: #ddd;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.hero-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(192,192,192,0.6);
}


.about {
  padding: 80px 20px;
  background: #4E5963;
  color: #F5F5F5;
  font-family: 'Cairo', sans-serif;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;           /* للانيميشن */
  transform: translateY(50px);
  transition: all 1s ease;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.about-content {
  flex: 1;
}

.about-title {
  font-size: 36px;
  color: #7A262A; /* لون مختلف */
  margin-bottom: 10px;
}

.about-subtitle {
  font-size: 24px;
  margin-bottom: 20px;
  color: #7A262A;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #D1D1D1;
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    gap: 30px;
    transform: translateY(30px);
  }

  .about-title {
    font-size: 28px;
  }

  .about-subtitle {
    font-size: 20px;
  }

  .about-content p {
    font-size: 15px;
  }
}


/*service*/
.services {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
  font-family: 'Cairo', sans-serif;
}



.head-service{
    margin: auto;
    display: block;
    text-align: center;
   background: linear-gradient(135deg,
#C9D0D6 0%,
#B2BAC2 45%,
#9AA3AD 85%,
#868F99 100%);
    border-radius: 20px;
    padding: 20px 10px;
    margin-bottom: 30px;
    margin-top: 20px;
    font-weight: bold;
    width: 70%;
    box-shadow: #868F99 10px 10px;
}
.head-service h1{
    color: #7A262A;
    font-size: 60px;
    margin-bottom: 10px;
}
.head-service p{
    color: #F5F5F5;
    font-size: 18px;
}



/* Responsive */
@media (max-width: 992px) {

  .head-service h1{
    font-size: 30px;
  }

  .head-service p{
    font-size: 14px;
  }
  .head-service{
    width: 80%;
  }
}


/* Service Item Layout */
.service-section {
  padding: 80px 20px;
  font-family: 'Cairo', sans-serif;
}

.service-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
background: linear-gradient(135deg,
#C9D0D6 0%,
#B2BAC2 45%,
#9AA3AD 85%,
#868F99 100%);

  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.service-image img {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {

  .service-image img{
    height: 300px;
  }
}


.service-content {
  flex: 2;
  min-width: 300px;
  color: #ffffff;
}

.service-content h1 {
  font-size: 32px;
  color: #7A262A;
  margin-bottom: 15px;
}

.service-description {
  font-size: 18px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.service-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.sub-box {
  flex: 1 1 calc(50% - 20px);
  background-color: rgba(0,0,0,0.2);
  border-radius: 15px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sub-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.sub-box h3 {
  font-size: 22px;
  color: #7A262A;
  margin-bottom: 10px;
}

.sub-box p {
  font-size: 16px;
  line-height: 1.5;
  color: #E0E0E0;
}

/* Responsive */
@media (max-width: 992px) {
  .service-container {
    flex-direction: column;
  }

  .sub-box {
    flex: 1 1 100%;
  }
}

.service-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.service-section.in-view {
  opacity: 1;
  transform: translateY(0);
}



/*clients*/
/* سيكشن العملاء */
#clients {
 background: linear-gradient(135deg,
#C9D0D6 0%,
#B2BAC2 45%,
#9AA3AD 85%,
#868F99 100%);/* خلفية غامقة مشابهة لموقعك */
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* عنوان السيكشن */
#clients h2 {
  color: #7A262A; /* نفس لون العناوين الرئيسية */
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

/* تعديل البوكسات لتكون أفقياً */
.clients-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch; /* البوكس يمتلئ ارتفاع السلايدر */
}

/* البوكس نفسه */
.client-box {
  width: 300px; /* عرض ثابت لكل بوكس */
  max-width: 90%; /* مرن على الموبايل */
  background: #868F99;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 300px;
}

.client-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}


/* عنوان البوكس */
.client-box h3 {
  color: #7A262A;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* وصف البوكس */
.client-box p {
  color: #cfd8dc; /* رمادي فاتح للقراءة */
  font-size: 1rem;
  line-height: 1.7;
}


/* Swiper pagination */
.swiper-pagination-bullet {
  background: #BFC5CC;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #fff;
}

/* أزرار التحكم */
.swiper-button-next,
.swiper-button-prev {
  color: #BFC5CC;
  background: rgba(0,0,0,0.3);
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #7A262A;
  color: #1D445F;
}

/* ريسبونسف */
@media (max-width: 768px) {
  #clients h2 {
    font-size: 2rem;
  }
  .client-box h3 {
    font-size: 1.25rem;
  }
  .client-box p {
    font-size: 0.95rem;
  }
}


.blog-section {
  padding: 100px 0;
background: linear-gradient(135deg,
#C9D0D6 0%,
#B2BAC2 45%,
#9AA3AD 85%,
#868F99 100%);
}

.section-title {
  text-align: center;
  color: #7A262A;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
}
/* تابلت */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* موبايل */
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  perspective: 1000px;
}

.blog-inner {
  position: relative;
  width: 100%;
  height: 250px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.blog-card:hover .blog-inner {
  transform: rotateY(180deg);
}

.blog-front,
.blog-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  padding: 30px;
  backface-visibility: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Front */
.blog-front {
  background: #868F99;
  color:#7A262A ;
}

.blog-date {
  display: inline-block;
  background: #7A262A;
  color: #ddd;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 15px;
}

.blog-front h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.blog-front p {
  font-size: 15px;
  line-height: 1.7;
  color: #ddd;
}

/* Back */
.blog-back {
  background: #2F3640;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Button */
.blog-btn {
  background: #7A262A;
  color: #ddd;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.blog-btn:hover {
  background: #fff;
  color: #000;
}


.wave-container {
  width: 100%;
  height: 120px;
  overflow: hidden;
  line-height: 0;
}

.wave-container svg {
  width: 100%;
  height: 100%;
}

.wave-container {
  box-shadow: 0 -10px 30px linear-gradient(135deg,
#C9D0D6 0%,
#B2BAC2 45%,
#9AA3AD 85%,
#868F99 100%);
}
