/* CSS Custom Properties */
:root {
    --primary-color: #f4c430;
    --secondary-color: #020e1c;
    --dark-bg: #16213e;
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
    --accent-hover: #e6b82a;
    --card-bg: #0f1419;
    --border-color: #2a2a3e;
    --border-gradient: linear-gradient(to right, #FFFFFF ,#FFFFFF33);
    --light-transperant-color:linear-gradient(to right, #ffffff48 ,#ffffff3b);
    --gradient-primary: linear-gradient(
        to right, 
        #F5D60B, 
        #F5D60B, 
        #F4BE11, 
        #F2981A, 
        #F08120, 
        #F07822, 
        #F07822
    );
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow-light: 0 4px 20px rgba(244, 196, 48, 0.1);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--secondary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 32px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-menu .nav-link .gradient-text {
  color: var(--text-light);
  transition: var(--transition);
}

.nav-menu .active,
.nav-menu .nav-link:hover {
  background: var(--light-transperant-color);
  padding: 8px 20px;
  border-radius: 25px;
  transition: var(--transition);
  margin: 0 5px;
  border:1px solid #FFFFFF33;
  box-shadow: 0 2px 12px #07051880;
  backdrop-filter: blur(22.6px);
}


.nav-menu .active .gradient-text,
.nav-menu .nav-link:hover .gradient-text {
  background: linear-gradient(
    to right,
    #F5D60B,
    #F5D60B,
    #F4BE11,
    #F2981A,
    #F08120,
    #F07822,
    #F07822
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}



.cta-button {
    display: flex;
    align-items: center;
    gap: 10px; 
    background: var(--gradient-primary);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 12px 21px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}
.cta-button a{
    text-decoration: none;
    color: var(--text-light);
}


/* Hero Section */
.hero-section {
    padding: 80px 0; 
    min-height: auto; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--secondary-color);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: radial-gradient(circle at 30% 50%, rgba(244, 196, 48, 0.1) 0%, transparent 50%); */
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 58px;
    margin: 32px 0;
    animation: fadeInUp 1s ease-out;
}
.hero-title span{
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    color: var(--text-gray);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; 
    background: linear-gradient(to bottom, #ffffff65, #ffffff3b );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.btn a{
    text-decoration: none;
    color: var(--text-light);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 228, 146, 0.144);
}

/* swipers */
#slider {
  padding: 50px 0;
  background: var(--secondary-color);
}

 .mySwiper {
  width: 100%;
  padding: 20px 0;
  background: var(--gradient-primary);
}

 .swiper-wrapper {
  display: flex;
  align-items: center;
}

.mySwiper .swiper-slide {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
}
 .mySwiper .swiper-slide img{
    width: 48px;
    height: 48px;
}

 .mySwiper .swiper-slide p {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 26px;
}

/* swipers */

.hero-content h3{
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
}
.sub-title h2{
    font-weight: 700;
    font-style: bold;
    font-size: 32px;
    line-height: 44px;
    text-align: center;
}
/* slider card */
.hero-stroies{
  position: relative;
  overflow: hidden;
  padding-block: 80px;
}
.hero-stroies .stories-Swiper {
  position: relative;
  /* padding: 40px; */
}

.hero-stroies .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.hero-stroies .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
}

.hero-stroies .card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 20px; */
  text-align: center;
  width: 100%;
  padding: 0px 25px;
}

.hero-stroies .card-title img {
  /* max-width: 380px; */
  height: 480px;
  object-fit: contain;
  border-radius: 12px;
}

.hero-stroies .card-title p {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 10px;
}
.hero-stroies .side-shpes{
  top: 80%;
}
.hero-stroies .right{
  transform: scaleY(-1);
  transform-origin: center;
}
/* slider card */


#stories .hero-buttons{
    padding: 30px 0 0 0;
}

/* services section */
.services-section ,
.steps-section,
.vid-section,
.testimonials{
  padding: 80px 0;
  background: var(--secondary-color);
}

.services-grid ,
.steps-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.service-box ,
.step-box{
  min-height: 290px;
  flex: 1 1 calc(33.333% - 30px); /* 3 أعمدة */
  background-color: var(--card-bg);
  padding: 35px 35px 35px 74px;
  background-color: #020C19;
  border: 1px solid #041C36;
  border-radius: 16px;
  text-align: start;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-dark);
  position: relative;
}

.service-box img ,
.step-box img {
  width: 72px;
  height: 72px;
  background-color: #532a09;
  padding: 10px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.service-box h3,
.step-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-light);
}

.service-box p ,
.step-box p{
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.service-box:hover,
.service-box.active ,
.step-box:hover {
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(244, 196, 48, 0.2);
  transform: translateY(-5px);
}

/* services section */

/* steps */

.step-number {
    /* font-family: "Montserrat-Arabic"; */
  position: absolute;
  top: -8px;
  left: 30px;
  font-size: 113px;
  text-align: end;
  font-weight: bold;
  color: #F1F7FE12;
}

/* Special last box */
.special-box {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}
.special-box h3{
    background: linear-gradient(
    to right,
    #F5D60B,
    #F5D60B,
    #F4BE11,
    #F2981A,
    #F08120,
    #F07822,
    #F07822
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  font-size: 32px;
}

/* steps */

.vid-section {
  background: radial-gradient(circle, rgba(2, 14, 28, 0) 0%, rgba(2, 16, 28, 1) 49%);
  position: relative;
  overflow: hidden;
}
.vid-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0; 
  background: radial-gradient(circle, rgba(2, 14, 28, 0) 0%, rgba(2, 16, 28, 1) 49%);
}

.vid-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.video-poster {
  position: relative;
  width: 100%;
  max-width: 800px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.video-poster img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.85) saturate(1.1);
}
.vignette-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    ellipse at center,
    rgba(2, 16, 28, 0) 50%,
    rgba(2, 16, 28, 0.7) 80%, 
    rgba(2, 16, 28, 1) 100%
  );
}

.video-poster .overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 16, 28, 0.4); 
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

.video-poster:hover .overlay {
  background: rgba(2, 16, 28, 0.6);
}

.play-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(244, 196, 48, 0.4);
  transition: transform 0.3s ease;
}
.play-icon img{
  width: 36px;
  height: 36px;
}

.play-icon:hover {
  transform: scale(1.05);
}
.side-shpes {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px; 
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.side-shpes.left {
  left: -10px;
}


.side-shpes.right {
  right: -10px;
  transform: scaleX(-1);
}


/*  testimonial */

 .testimonial-text{
  font-size: 32px;
  font-weight: 700;
 }
.testimonial-swiper{
  position: relative;
  padding: 50px;
  overflow: hidden;
}
.testimonial-card > * {
  position: relative;
  z-index: 1;
}
.testimonial-card {
  background-image: 
    var(--gradient-primary);
  background-clip: border-box;
  color: #fff;
  border-radius: 55% 45% 25% 75% / 19% 68% 32% 81% ;
  padding: 30px;
  width: auto;
  position: relative;
  text-align: center;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../imgs/testimonial/Vector\ 5.svg) no-repeat center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  opacity: 1;
  overflow: hidden;
}


.testimonial-card .avatar {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-top: -100px;
  position: relative;
  z-index: 1;
}

.testimonial-card h3 {
  font-size: 20px;
  font-weight: bold;
}

.testimonial-card .role {
  font-size: 15px;
  font-weight: 500;
}

.testimonial-card .text {
  font-size: 13px;
  font-weight: 400;
  line-height: 21px;
}
.testimonial-card .swiper-button-prev{
  top: -50px;
}
/* testimonials */

/* Swiper arrows */
.swiper-button-next,
.swiper-button-prev {
  width: 40px;
  height: 40px;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  border: 5px;
  font-weight: 700;
  background: linear-gradient(
    to right,
    #F5D60B,
    #F5D60B,
    #F4BE11,
    #F2981A,
    #F08120,
    #F07822,
    #F07822
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.swiper-pagination-bullet {
  background: var(--gradient-primary);
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* footer */
  .site-footer {
      width: 100%;
      padding: 60px;
      text-align: center;
      background: var(--secondary-color);
  }

  .footer-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 25px;
      max-width: 1100px;
      margin: 0 auto;
      padding: 20px;
      border: 1px solid #041C36;
    border-radius: 20px;
  }

  .logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; 
}
.logo-container .main-logo {
  z-index: 1;
}

.logo-container .light-icon {
  max-width: 250px; 
  height: auto;
  flex-shrink: 0;
  margin-top: -20px ;
  margin-right: -30px;
}
.left-light {
  transform: scaleX(-1); 
  margin-left: -70px;
}
  .tagline {
      font-size: 16px; 
      line-height: 1.8;
      color: #B3C4D6;
      max-width: 450px;
      margin: 0;
  }

  .social-icons {
      display: flex;
      gap: 20px;
  }

  .social-icons a {
      color: var(--text-secondary);
      font-size: 20px;
      border: 1px solid var(--border-color);
      width: 45px;
      height: 45px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50%;
      text-decoration: none;
      transition: all 0.3s ease;
  }
  .social-icons a .active{
    background: linear-gradient(
      to right,
      #F5D60B,
      #F5D60B,
      #F4BE11,
      #F2981A,
      #F08120,
      #F07822,
      #F07822
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
  .social-icons a:hover {
      color: var(--gradient-primary);
      border-color: var(--gradient-primary);
      transform: translateY(-3px);
      box-shadow: 0 4px 15px rgba(244, 196, 48, 0.2);
      background: linear-gradient(
      to right,
      #F5D60B,
      #F5D60B,
      #F4BE11,
      #F2981A,
      #F08120,
      #F07822,
      #F07822
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
  
  .step-box.special-box {
    position: relative;
}

a.link-b {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.menue-mob-n {
    display: none;
}
.hero-stroies .card-item img {
    width: 100%;
    object-fit: fill;
}

.card-title {
    width: 100%;
}
.stories-Swiper .swiper-button-next {
    right: -3px;
    left: auto;
}

section#stories .swiper-button-prev {left: 100px;}

section#stories .swiper-button-next {
    right: 100px;
}
.clients-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.client-block {
    max-width: 24%;
    flex: 20%;
    display: flex;
    justify-content: center;
    border: 1px solid rgba(242, 152, 26, 1);
    padding: 10px;
    border-radius: 10px;
    background: white;
}

.client-block img {width: 130px;}

.clients-inner .client-block:nth-child(even) {transform: translateY(52px);}