body{
  margin: 0;
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(to right, #925467, #1D2B64);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    overflow-x: hidden;
}

html {
overflow-x: hidden;
}

.container {
    max-width: 900px;
    padding: 100px;
    position: relative;
    background: url('Images/img1.png') no-repeat center center/cover;
    font-family: 'Cairo', sans-serif;
    border-radius: 50px 50px 0 0;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-primary {
    background-color: white;
    color: black;
    transition: all 0.6s ease;
  }

  .btn-primary:hover {
    background-color: unset;
    
    color: black;
    border: 2px white solid;
  }

  .btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    transition: all 0.6s ease;
  }

  .btn-secondary:hover {
    background-color: white;
    color: #1D2B64;
  }

header {
   display: flex;
   justify-content: space-between;
   width: 100%;
   background: linear-gradient(to right, #925467, #1D2B64);
}

.header-section-1 {
    display: flex;
    align-items: center;
    width: 50%;
    justify-content: flex-end;
    
}

.header-section-1 > img{
    width: 100px;
    padding-left: 15px;
    padding-right: 50px;
}

.header-section-1 > a > h4{
    padding-left: 15px;
    opacity: 0.6;
    transition: opacity 0.6s ease;
}

.header-section-1 > a > h4:hover{
    opacity: 1;
}

.header-section-1 > a{
    text-decoration: unset;
    color: white;
}

.header-section-2 {
    display: flex;
    align-items: center;
    padding-left: 60px;
}

.header-section-2 > button{
    
    border-radius: 6px;
    
    height: 45px;
    border: solid white 2px;
    font-weight: 900;
}

.header-section-2 > .sign-in:hover{
    background-color: white;
    background: linear-gradient(to right, #925467, #1D2B64);
}

.header-section-2 > .sign-up:hover{
    background: linear-gradient(to right, #925467, #1D2B64);
    color: white;
    cursor: pointer;
}

.sign-in {
    margin-left: 15px;
    background: linear-gradient(to right, #925467, #1D2B64);
    color: white;
    transition: color 0.6s ease;
    transition: background-color 0.6s ease;
    cursor: pointer;
    width: 110px;
}

.sign-in > a{
  color: white;
}

.sign-up {
    background-color: white;
    color: #50061d;
    width: 75px;
    
    transition: color 0.6s ease;
    transition: background-color 0.6s ease;
}

footer {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #925467, #1D2B64);
    width: 100%;
    
    
    justify-content: space-between;
    height: 150px;
}

.footer-section1 {
    display: flex;
    padding-left: 50px;
    flex-direction: column;
    align-items: center;
}

.footer-section1-1{
    display: flex;
}

.footer-section2 > img{
    height: 100px;
    width: 100px;
    padding-right: 120px;
    padding-bottom: 50px;
}

.footer-section2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-section1 > div > a{
    text-decoration: none;
    color: white;
    opacity: 0.6;
    padding-left: 15px;
    transition: all 0.6s ease;
}

.footer-section1 > div > a:hover{
    opacity: 1;
   
}

.footer-section1 > div > a > h4:hover{
    color: white;
    cursor: pointer;
}

.footer-section1 > div > a:hover{
    color: white;
}

.footer-section1-2{
    margin-top: -45px;
}

.features-section {
    padding: 60px 20px;
    color: white;
    text-align: center;
    
  }
  
  .features-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #B983FF;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px 110px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .feature-box {
    border: 1px solid #B983FF;
    width: 300px;
    height: 200;
    border-radius: 12px;
    padding: 25px 20px;
    background-color: rgba(255, 255, 255, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: end;
  }
  
  .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  
  .feature-box .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #B983FF;
  }
  
  .feature-box h3 {
    color: #B983FF;
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .feature-box p {
    font-size: 1rem;
    line-height: 1.6;
  }

  button {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  button > a{
    text-decoration: none;
  }
  

  @media (max-width: 768px) {

    .container {
      padding: 40px 20px;
      border-radius: 30px 30px 0 0;
    }
  
    h1 {
      font-size: 1.8rem;
    }
  
    p {
      font-size: 1rem;
      margin-bottom: 20px;
    }
  
    .buttons {
      flex-direction: column;
      align-items: center;
    }
  
    .btn {
      width: 100%;
      max-width: 300px;
      font-size: 1rem;
    }
  
    header {
      flex-direction: column;
      align-items: center;
      padding: 10px;
    }
  
    .header-section-1, .header-section-2 {
      width: 100%;
      justify-content: center;
      padding: 10px 0;
    }
  
    .header-section-1 > img {
      padding-right: 0;
      width: 80px;
    }
  
    .footer-section1 {
      padding-left: 0;
      align-items: center;
    }
  
    .footer-section2 {
      justify-content: center;
      padding: 0;
    }
  
    .footer-section2 > img {
      padding: 0;
      height: 80px;
      width: 80px;
    }
  
    .features-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }
  
    .feature-box {
      width: 90%;
      padding: 20px;
    }
  
    .footer-section1-2 {
      margin-top: -40px;
    }
  }

  .main-header {
    background: linear-gradient(to right, #925467, #1D2B64);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position: relative;
    z-index: 1000;
  }
  
  .logo img {
    height: 50px;
  }
  
  .nav-menu {
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: opacity 0.3s;
  }
  
  .nav-links li a:hover {
    opacity: 0.7;
  }
  
  .menu-toggle {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
  }
  
  /* ✅ responsive menu for small screens */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      margin-right: 10px;
    }
  
    .nav-links {
      flex-direction: column;
      position: absolute;
      top: 70px;
      right: 0;
      background-color: #1D2B64;
      width: 100%;
      display: none;
      padding: 20px 0;
      text-align: center;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .nav-links li {
      margin-bottom: 15px;
    }
  }
  

  /* زر القائمة */
  .menu-toggle {
    display: none;
    font-size: 26px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 15px;
  }
  
  /* الهيدر الأساسي */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: linear-gradient(to right, #925467, #1D2B64);
    padding: 10px 20px;
    position: relative;
    z-index: 1000;
  }
  
  /* الجزء الأيمن (الأزرار) */
  .header-section-2 {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /* الجزء الأيسر (الروابط + الصورة) */
  .header-section-1 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    
    
  }
  
  .header-section-1 > a {
    text-decoration: none;
    color: white;
    opacity: 0.6;
    transition: opacity 0.6s ease;
  }
  
  .header-section-1 > a:hover {
    opacity: 1;
  }
  
  .header-section-1 > img {
    width: 100px;
    height: auto;
  }

  .mobile-sign-in {
    display: none;
  }

/* ✅ الهيدر في الشاشات الصغيرة */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: relative;
    left: 20px;
    
  }

  .header-section-1 {
    flex-direction: column-reverse;
    align-items: flex-end;
    background-color: #3b3054;
    width: 40%;
    height: 97vh; /* ✅ يجعل القائمة بطول الشاشة */
    padding: 0 20px;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 999;
    gap: 20px;
    overflow-y: auto;
    
  }

  .header-section-1 > a{
    position: relative;
    right: 20px;
    padding: 0;
    margin: -10px 0;
  }
  
  /* عندما نفتح القائمة */
  .header-section-1.show {
    transform: translateX(0%);
    opacity: 1;
    padding: 20px;
  }

  .header-section-1 > a {
    padding: 10px 0;
  }

  .header-section-2 {
    width: 100%;
    justify-content: space-between;
  }

  .sign-up,
  .sign-in {
    display: none;
  }

  .mobile-sign-in {
    display: block;
    background-color: #12a14e;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: auto;
    align-self: flex-end;
    transition: background 0.4s ease;
  }

  .mobile-sign-in:hover {
    background-color: #2ecc71;
  }

  /* إخفاء الشعار في الجوال */
  .header-section-1 > img {
    display: none;
  }

  .mobile-sign-in {
    display: block;
    background-color: #12a14e;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: auto;
    align-self: flex-end;
    transition: background 0.4s ease;
    position: relative;
    bottom: 60px;
    right: 25px;
  }

  .mobile-sign-in:hover {
    background-color: #2ecc71;
  }

  /* إخفاء الشعار في الجوال */
  .header-section-1 > img {
    display: none;
  }

  footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    text-align: center;
  }

  .footer-section1,
  .footer-section2 {
    width: 100%;
  }

  .footer-section1 {
    align-items: center;
    justify-content: center;
  }

  .footer-section1-1,
  .footer-section1-2 {
    flex-direction: column;
    text-align: center;
    align-items: center;
    display: flex;
    margin: 0;
  }

  .footer-section1 a {
    
    display: block;
  }

  .footer-section2 img {
    padding: 0;
    width: 80px;
    height: 80px;
  }
}


