﻿ 
@import url('https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');
 
:root {
    --brand: #ff6a00; /* برتقالي رئيسي */
    --accent: #0f1724; /* داكن */
    --muted: #6b7280;
    --card-bg: #ffffff;
    --glass: rgba(255,255,255,0.6);
    --background: #F7FAFC;
          --primary: #FF6B35;
            --primary-dark: #e55a2b;
                --anim-default-duration: 800ms;
    --anim-default-easing: cubic-bezier(.2,.8,.2,1);
}

body {
    background: #f6f7fb;
    color: #111827;
    font-family: "Zain", sans-serif;
}
.navbar{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
      z-index: 9999;
}
.nav-item{
    font-size: 1.2rem;
    font-weight: 700;
}

.navbar-brand {
    font-weight: 700;
    color: var(--accent);
}
header{
     padding-top: 40px;
     background-image: url(../img/hero.webp);
     height: 100vh;
     background-size: 100% 100%;
}
header h1{
    text-align: right;
}
header p{
    text-align: right;
}
.hero {
   position: relative;
   top: 0;
   right: 0;
   width: 100%;
  
}
.txt_container{
    display: flex;
    flex-direction: column;
    width: 40%;
    position: absolute;
    top: 30vh;
    right: 50px;
    background-color: #74717180;
    border-radius: 20px;    
     opacity: 0;
}
.img_container{
    display: flex;
    flex-direction: column;
    width: 300px;
    position: absolute;
    top: 10vh;
    left: 20%;
    border-radius: 20px;   
    transform: rotate(30deg);
    opacity: 0;

}
.img2_container{
    display: flex;
    flex-direction: column;
    width: 250px;
    position: absolute;
    top: 20vh;
    left: 10%;
    border-radius: 20px;   
 opacity: 0;
 
}
.txt_container h1{
  line-height: 60px;
  font-size: 2rem;
     text-align:center ;

}
.txt_container h1 span{
    width: 100%;
    font-size: 2.3rem;
    background-color: #ff6a00;
    color: #ffffff;
    text-align:center ;
    display: block;
}
.heroimg img{
    height: 70vh;
    width: 350px;
    padding: 0;
    margin: 0;
    border-radius:30px;
}
.navbar img{
    width: 100px;
}
.feature-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(180deg,#fff, #fff);
    box-shadow: 0 6px 18px rgba(15,23,36,0.06);
}

.price-card {
    border-radius: 14px;
    transition: transform .25s, box-shadow .25s;
    border: 1px solid rgba(15,23,36,0.06);
    background: var(--card-bg);
}

    .price-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 30px rgba(2,6,23,0.08);
    }
.price-card ul{
    list-style: none;
    padding: 0;
    height: 700px;
}
.price-card ul li{
    height: 40px;
    text-align: center;
    border-bottom: groove 1px #ced0d4;
    padding-top: 10px;
    
}
.price-card ul li:hover{
   background: var(--brand);
   color: #fff;
    
}
.price-badge {
    background: linear-gradient(90deg,var(--brand), #ff9b43);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
}

.cta-primary {
    background: var(--brand);
    color: #fff;
    border: none;
}

.cta-outline {
    border-color: var(--brand);
    color: var(--brand);
    background: transparent;
}

.faq-item button {
    text-align: right;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(180deg,#ff8a33,#ff4d00);
    display: inline-grid;
    place-items: center;
    color: white;
    font-weight: 800;
}

footer {
    background: #0b1220;
    color: #cbd5e1;
}
 /* keyframes */
  @keyframes slideDown { from{transform:translateY(-80px);opacity:0} to{transform:translateY(0);opacity:1} }
  @keyframes slideUp   { from{transform:translateY(80px); opacity:0} to{transform:translateY(0);opacity:1} }
  @keyframes slideLeft { from{transform:translateX(-80px); opacity:0} to{transform:translateX(0);opacity:1; transform: rotate(30deg); } }
  @keyframes slideRight{ from{transform:translateX(80px);  opacity:0} to{transform:translateX(0);opacity:1} }
  @keyframes zoomIn    { from{transform:scale(.7); opacity:0} to{transform:scale(1); opacity:1} }
  @keyframes fadeIn    { from{opacity:0} to{opacity:1} }

  /* classes */
  .a-down  { animation: slideDown 700ms ease-out forwards; }
  .a-up    { animation: slideUp 700ms ease-out forwards; }
  .a-left  { animation: slideLeft 700ms ease-out forwards;    
    
    }
  .a-right { animation: slideRight 700ms ease-out forwards; }
  .a-zoom  { animation: zoomIn 700ms cubic-bezier(.2,.8,.2,1) forwards; }
  .a-fade  { animation: fadeIn 700ms ease forwards; }

  /* صغير: لعمل تأخيرات مختلفة */
  .delay-1{ animation-delay: 0.15s }
  .delay-2{ animation-delay: 0.30s }
  .delay-3{ animation-delay: 0.45s }
  .delay-4{ animation-delay: 0.60s }

 /* قسم كيف يعمل */
        .how-it-works {
            background: var(--background);
        }

        .steps {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            margin-top: 50px;
        }

        .step {
            flex: 1;
            text-align: center;
            padding: 0 20px;
            position: relative;
        }

        .step:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 60px;
            left: -50%;
            width: 100%;
            height: 2px;
            background: var(--primary);
            opacity: 0.3;
        }

        .step-number {
            width: 60px;
            height: 60px;
            background: var(--primary);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0 auto 20px;
        }

        .step-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .step h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--secondary);
        }
.how-it-works h2{
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
}
.how-it-works .section-subtitle{
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
}

/* قاعدة العناصر */
  .anim {
    opacity: 0;
    transform: translateZ(0); /* force GPU layer */
    will-change: transform, opacity;
    transition: opacity 0.3s linear; /* fallback */
  }

  /* visible state (when animation should run) */
  .anim.is-visible {
    opacity: 1;
  }

  /* ===== generic animation helpers (start states) ===== */
  /* from top */
  .anim--fade-up { transform: translateY(40px); }
  .anim--fade-down { transform: translateY(-40px); }
  .anim--fade-left { transform: translateX(-40px); }
  .anim--fade-right { transform: translateX(40px); }
  /* zoom */
  .anim--zoom-in { transform: scale(.85); }
  /* flip */
  .anim--flip-left { transform: rotateY(25deg); transform-origin: center; backface-visibility: hidden; }
  .anim--flip-up { transform: rotateX(-20deg); transform-origin: center; backface-visibility: hidden; }
  /* slide (larger movement) */
  .anim--slide-up { transform: translateY(120px); }
  .anim--slide-down { transform: translateY(-120px); }

  /* ===== when visible we override transform with transition/animation ===== */
  /* we use CSS variables to control duration/easing */
  .anim.is-visible.anim--fade-up,
  .anim.is-visible.anim--fade-down,
  .anim.is-visible.anim--fade-left,
  .anim.is-visible.anim--fade-right,
  .anim.is-visible.anim--zoom-in,
  .anim.is-visible.anim--flip-left,
  .anim.is-visible.anim--flip-up,
  .anim.is-visible.anim--slide-up,
  .anim.is-visible.anim--slide-down {
    transition-property: transform, opacity;
    transition-duration: var(--aos-duration, var(--anim-default-duration));
    transition-timing-function: var(--aos-easing, var(--anim-default-easing));
    transform: translateX(0) translateY(0) scale(1) rotateX(0) rotateY(0);
    opacity: 1;
  }

  /* small tweak: flip can look better with a tiny perspective parent */
  .flip-wrapper { perspective: 1200px; }

  /* prefers-reduced-motion support */
  @media (prefers-reduced-motion: reduce) {
    .anim, .anim.is-visible { transition: none !important; transform: none !important; opacity: 1 !important; }
  }
/* utility for delays if you prefer using classes */
  .delay-100 { --aos-delay: 100ms; }
  .delay-200 { --aos-delay: 200ms; }
  .delay-300 { --aos-delay: 300ms; }

  /* handle delay & duration with inline style or CSS variable --aos-delay/--aos-duration */
  .anim { transition-delay: var(--aos-delay, 0ms); transition-duration: var(--aos-duration, var(--anim-default-duration)); }






@media (max-width:575px) {
    .feature-icon {
        width: 48px;
        height: 48px;
    }
                .steps {
                flex-direction: column;
                gap: 50px;
            }
            
            .step:not(:last-child)::after {
                display: none;
            }
   .txt_container{
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 5vh;
    right: 10px;
    background-color: #74717180;
    border-radius: 20px;    
     opacity: 0;
}

.img_container{
 
    flex-direction: column;
    width: 150px;
    position: absolute;
    top: 60vh;
    left: 30%;
    border-radius: 20px;   
    transform: rotate(30deg);
    opacity: 0;
    z-index: 2;
}
.img2_container{
     flex-direction: column;
    width: 120px;
    position: absolute;
    top: 65vh;
    left: 10%;
    border-radius: 20px;   
   opacity: 0;
   z-index: 1;
}
.txt_container h1{
  line-height: 60px;
  font-size: 1.5rem;
     text-align:center ;

}
.txt_container h1 span{
    width: 100%;
    font-size: 2.3rem;
    background-color: #ff6a00;
    color: #ffffff;
    text-align:center ;
    display: block;
}
.price-card ul{
 
    height: auto;
}
}