/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.slider {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  
}

.slide-content {
  flex: 1;
  padding: 0 var(--spacing-xl);
  color: var(--white);
  z-index: 1;
  max-width: 50%;
  animation: slideContent 0.8s ease-out;
}

@keyframes slideContent {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(13, 71, 161, 0.8) 0%, rgba(13, 71, 161, 0.4) 100%);
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-controls {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 2;
}

.prev-btn, .next-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.logo-app {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 41px auto;
  padding-left: 780px; 
 
 
}

  .logo-app img {
    width: 80px;
    height: auto;
  }


  @media (max-width: 991px) {
  .logo-name {
    font-size: 20px;
  }
}

 
@media (max-width: 576px) {
  .logo-name {
    font-size: 16px;
  }
}
.prev-btn:hover, .next-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slide-dots {
  display: flex;
  margin: 0 var(--spacing-md);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 var(--spacing-xs);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--white);
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  align-items: center;
}

.about-text p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  font-size: 1.1rem;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
    height:400px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-image:hover {
  transform: scale(1.02);

}

.volunteer-box {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  border-radius: var(--border-radius);
  padding: var(--spacing-xl);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}

.volunteer-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.volunteer-btn {
  padding: var(--spacing-sm) var(--spacing-xl);
  font-size: 1.1rem;
  min-width: 160px;
}

/* Download Section */
.download {
  background-color: var(--background-light);
}

.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.download-text h3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-dark);
}

.download-text p {
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.download-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.store-btn {
  display: inline-block;
  transition: var(--transition);
}

.store-btn:hover {
  transform: translateY(-5px);
}

.store-btn img {
  height: 50px;
}

.app-preview {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 20px;
}

.app-preview img{
  width:50%;
  height: 510px;
  border-radius: 40px;
}

.app-preview:hover {
  transform: translateY(-10px);
}

@media (max-width: 991px) {
  .app-preview {
    flex-direction: column;
    gap: 15px;
  }

  .app-preview img {
    width: 70%;
    height: auto;
  }
}

/* ✅ شاشة صغيرة (جوال) */
@media (max-width: 576px) {
  .app-preview {
    flex-direction: column;
    gap: 10px;
  }

  .app-preview img {
    width: 70%;
    height: auto;
  }

}
/* Responsive Styles */
@media (max-width: 992px) {
  .slide-content h1 {
    font-size: 2.8rem;
  }
  
  .download-content, .about-content {
    grid-template-columns: 1fr;
  }
  
  .app-preview, .about-image {
    margin-top: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  .slide {
    flex-direction: column;
    justify-content: center;
  }
  
  .slide-content {
    max-width: 100%;
    text-align: center;
    padding: var(--spacing-xl);
  }
  
  .slide-content h1 {
    font-size: 2.5rem;
  }
  
  .volunteer-box {
    flex-direction: column;
    text-align: center;
  }
  
  .volunteer-content {
    margin-bottom: var(--spacing-md);
  }
  
  .download-buttons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .slide-content h1 {
    font-size: 2rem;
  }
  
  .hero {
    height: 80vh;
  }
}

