@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Familjen Grotesk', sans-serif;
  /* background-color: white; */
/* overflow: hidden; */
}

/* تنسيق الشعار */
.Logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

/* تنسيق الهيدر */
.Header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  position: sticky;
  top: 8px;
  z-index: 1000;
  background-color: transparent; /* يمكنك تغيير اللون حسب التصميم */
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* إضافة ظل خفيف */
}

/* تنسيق النافبار */
.Navigation {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000;
  width: 415px;
  height: 56px;
  border-radius: 80px;
  font-size: 20px;
  line-height: 140%;
  font-weight: 400;
  gap: 16px;
}

/* تنسيق الروابط داخل النافبار */
.Navigation li a {
  text-decoration: none;
  color: #C4C4C4;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 88px;
  height: 46px;
  border-radius: 48px;

  transition: all 0.3s ease-in-out;
}

/* تأثير الـ hover */
.Navigation li a:hover {
  color: #000000;
  background-color: white;
  border-radius: 48px;
}

/* تمييز العنصر النشط */
.Navigation li a.active {
  color: #000000;
  background-color: white;
  border-radius: 48px;
}
h1{
  position: relative;
  z-index: -1;
  font-size: 227px;
  font-weight: 700;
  margin: 20px 0;
  line-height: 90%;
  letter-spacing: -2%;
  width: 1123px;
  height: 408px;
margin-left: 112px;
  margin-right:205px;

}
.Auto-Layout-Vertical{
  position: relative;
  z-index: 1;
  display: flex;
      justify-content: center;
      align-items: center;
      text-decoration: none;
      list-style: none;
      gap: 16px;
      background-color: #F9F9F9;
      border-radius: 144px;
      width: 232px;
      height: 92px;
      left: 1000px;
      bottom: 120px;
      margin-left: 110px;
      cursor: pointer;
}
.Auto-Layout-Horizontal{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 130%;
  width: 1320px;
  height: 84px;
margin-left: 112px;
  margin-right:205px;
  gap: 322px;
}
.Projects {
    width: 1217px;
    margin-top: 144px;
    display: flex;
    align-items: flex-start;  /* تغيير من center إلى flex-start */
    justify-content: space-between;
    color: #000000;
    font-weight: 500;
    margin-left: 112px;
    margin-right: 112px;
    gap: 40px;  /* تقليل الفجوة */
}

.Pr-info {
    display: flex;
    gap: 16px;
    flex-direction: column;
    max-width: 70%;  /* تحديد العرض الأقصى */
}

.Pr-info h2 {
    display: flex;
    align-items: center;
    margin-top: 0; /* إزالة الهامش العلوي */
    margin-bottom: 16px;
}

.Pr-More {
    position: relative;
    top: 85px; /* نفس margin-top للـ h2 */
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f8f8f8;
    height: fit-content;
}

.Pr-More:hover {
    background-color: #eeeeee;
    transform: translateX(5px);
}

.Pr-More:hover #ar {
    transform: translateX(5px);
}

.Morew {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

#ar {
    transition: transform 0.3s ease;
    font-size: 16px;
    margin-top: 2px;
}

.cards{
  margin-top: 40px;
}

.Card1{
  display: flex;
  /* align-items: center; */
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}
.card-element{
  font-size: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}
.Card-Element-desktop{
  background-color: black;
  border-radius: 2px solid #000000;
  border-radius: 32px;
  overflow: hidden;
  width: 592px;
  height: 500px;
  position: relative;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease;
}
.Card-Element-desktop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.Card-Element-desktop:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.Card-Element-desktop:hover img {
  transform: scale(1.05);
}
.Card-Element-desktop::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.Card-Element-desktop:hover::after {
  opacity: 1;
}
.Frame6{
  margin-top: 24px;;
  font-size: 20px;
  line-height: 140%;
  transition: transform 0.3s ease;
}
.card-element:hover .Frame6 {
  transform: translateY(-5px);
}
h2{
  font-size: 48Px;
  font-weight: 700;
  margin-top: 155px;

}
.ex{
  display: flex;
    gap: 11px;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    margin-left:250px;
    margin-top: 115px;
}
.ex1{
  position: relative;
  width: 396px;
      gap: 11px;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      /* border: 1px solid #000000; */
      margin-left: 150px;
      margin-top: 15px;
}
.cer {
  font-size: 5px; /* Adjust the size as needed */
  width: 8px;
  height: 8px;
  margin-top: 8px;
}
p{
  display: flex;
}
.text{
  font-size: 34px;
  bottom: 10px;
  align-items: center;
  display: flex;
}
.ex1-1{
  position: relative;
  display: flex;
      gap: 7px;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      /* margin-left: 150px; */
      margin-top: 15px;
}
.ex-p {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  margin-top: 8px;
  margin-bottom: 8px;
  margin-left: 18px;
  text-align: justify;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}
.ex-{
  display: flex;
  gap: 74px;
  margin-top: 45px;
  margin-left: 112px;
}
.seb{
  margin-top: 75px;
  background-color: #000000;
  width: 1803px;
  height: 249px;
  position: relative;
  /* z-index: -1; */
  overflow: hidden;
  width: 100%;
  }
.Reg{
  background-color: #000000;
  width: 1803px;
  height: 249px;
  position: relative;
  z-index: -1;
}
.text-Reg{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 110%;
  white-space: nowrap;
  bottom: 120px;
  color: white;
}
.Testimonials{
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 81px;
  margin-top: 80px;
  margin-left: 112px;
  margin-right: 112px;

}
.tes{
  width: 364;
  height: 70px;
  font-size: 64px;
  font-weight: 700;
}
.pa-{
  font-size: 48px;
  font-weight: 400;
  margin-left: 112px;
}
.name{
  font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    margin-left: 112px;
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    bottom: 100px;
}
.Text{
  font-size: 140Px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  display: flex;
  margin-top: 130px;
}
.bttn{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  width: 362px;
  height: 92px;
  border-radius: 144px;
  margin-top: 40px;
  margin-left: 605px;
  cursor: pointer;
}
.email{
  padding: 18px;
    font-size: 20Px;
  line-height: 130%;
  font-weight: 500;
  color: white;
  position: relative;
}

.fot{
  margin-top: 90px;
  display: flex;
      align-items: center;
      justify-content: center;
      width: 958px;
      height: 71px;
      gap: 692px;
      white-space: nowrap;
      margin-left: 278px;
      font-size: 13px;
}

.social-link {
  text-decoration: none;
  color: #333;
  position: relative;
  padding: 5px 0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.social-link:hover {
  color: #000;
}

.social-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.section-title {
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #000, #333);
    -webkit-background-clip: text;
    background-clip: text;
    height: 309px;

}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    font-size: 32px;
    color: #000;
    margin-bottom: 24px;
    opacity: 0.1;
}

.testimonial-text {
    font-size: 24px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 32px;
    font-weight: 500;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 24px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.author-position {
    font-size: 16px;
    color: #666;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #333;
    transform: translateY(-5px);
}

.scroll-to-top i {
    color: white;
    font-size: 24px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .scroll-to-top i {
        font-size: 20px;
    }
}

#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-spinner {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-spinner:before,
.loader-spinner:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: ripple 1.8s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}

.loader-spinner:before {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    animation-delay: 0.2s;
}

.loader-spinner:after {
    width: 80%;
    height: 80%;
    background: #fff;
    top: 10%;
    left: 10%;
    animation-delay: -0.5s;
}

.loader-text {
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #fff;
    animation: fadeInOut 2s ease-in-out infinite;
    text-align: center;
    font-family: 'Familjen Grotesk', sans-serif;
}

.loader-progress {
    position: absolute;
    bottom: 20%;
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #fff;
    transition: width 0.5s ease;
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    50% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

#mainContent {
    opacity: 0;
    transition: opacity 0.8s ease;
}

#mainContent.visible {
    opacity: 1;
}
