/* Empty styles */ 

/* Lion's Share Custom Styles */

/* Import font for Arabic text */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');

/* Import font for English text */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base styles */
html, body {
  max-width: 100%;
}

/* Mobile: prevent horizontal scroll */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #181818;
}

/* Arabic text */
.arabic {
  font-family: 'Tajawal', sans-serif;
}

/* Sticky Navbar */
#navbar {
  transition: all 0.3s ease;
}

#navbar.navbar-scrolled {
  background-color: rgba(24, 24, 24, 0.95);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

/* Navbar underline animation */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #f7b614;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Button hover effect */
.order-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(247, 182, 20, 0.3);
}

/* Hero section fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-text {
  animation: fadeIn 1s ease-out forwards;
}

.hero-title {
  animation: fadeIn 1s ease-out 0.3s forwards;
  opacity: 0;
}

.hero-subtitle {
  animation: fadeIn 1s ease-out 0.6s forwards;
  opacity: 0;
}

.hero-button {
  animation: fadeIn 1s ease-out 0.9s forwards;
  opacity: 0;
}

/* About section animations */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Apply animations when scrolled into view */
.about-heading, .about-title, .about-text, .about-btn {
  opacity: 0;
}

.about-heading.animate {
  animation: slideInLeft 0.6s ease-out forwards;
}

.about-title.animate {
  animation: slideInLeft 0.6s ease-out 0.2s forwards;
}

.about-text.animate {
  animation: slideInLeft 0.6s ease-out 0.4s forwards;
}

.about-btn.animate {
  animation: slideInLeft 0.6s ease-out 0.6s forwards;
}

.about-image.animate {
  animation: scaleIn 0.8s ease-out forwards;
  opacity: 0;
}

/* Vision section animations */
.vision-heading, .vision-title, .vision-text, .vision-btn {
  opacity: 0;
}

.vision-heading.animate {
  animation: slideInRight 0.6s ease-out forwards;
}

.vision-title.animate {
  animation: slideInRight 0.6s ease-out 0.2s forwards;
}

.vision-text.animate {
  animation: slideInRight 0.6s ease-out 0.4s forwards;
}

.vision-btn.animate {
  animation: slideInRight 0.6s ease-out 0.6s forwards;
}

.vision-image.animate {
  animation: scaleIn 0.8s ease-out forwards;
  opacity: 0;
}

/* Image hover effect */
.about-image img, .vision-image img {
  transition: transform 0.5s ease;
}

.about-image:hover img, .vision-image:hover img {
  transform: scale(1.05);
}

/* Mission section animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.mission-heading, .mission-text, .mission-btn {
  opacity: 0;
}

.mission-heading.animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

.mission-text.animate {
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.mission-btn.animate {
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.mission-btn:hover {
  animation: pulse 1s infinite;
}

/* Background animation for mission section */
@keyframes gradientBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.mission-overlay {
  transition: opacity 0.5s ease;
}

#mission:hover .mission-overlay {
  opacity: 0.6;
}

/* Features section animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes iconPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.features-heading, .features-title, .features-subtitle {
  opacity: 0;
}

.features-heading.animate {
  animation: fadeUp 0.8s ease-out forwards;
}

.features-title.animate {
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.features-subtitle.animate {
  animation: fadeUp 0.8s ease-out 0.4s forwards;
}

.features-item {
  opacity: 0;
}

.features-item.animate {
  animation: fadeUp 0.8s ease-out forwards;
}

.feature-icon {
  opacity: 0;
}

.feature-icon.animate {
  animation: iconPop 0.6s ease-out forwards;
}

/* Hover effect for feature items */
.features-item {
  transition: transform 0.3s ease;
  margin-bottom: 1rem;
}

.features-item:hover {
  transform: translateY(-10px);
}

/* Feature icon adjustments */
.feature-icon {
  height: 4rem;
  width: auto;
  filter: brightness(0) saturate(100%) invert(75%) sepia(50%) saturate(1000%) hue-rotate(360deg) brightness(103%) contrast(104%);
  transition: transform 0.3s ease;
}

.features-item:hover .feature-icon {
  transform: scale(1.1);
}

/* Download section animations */
.download-heading, .download-title, .download-text, .download-buttons, .download-image {
  opacity: 0;
}

.download-heading.animate {
  animation: slideInLeft 0.8s ease-out forwards;
}

.download-title.animate {
  animation: slideInLeft 0.8s ease-out 0.2s forwards;
}

.download-text.animate {
  animation: slideInLeft 0.8s ease-out 0.4s forwards;
}

.download-buttons.animate {
  animation: slideInLeft 0.8s ease-out 0.6s forwards;
}

.download-image.animate {
  animation: fadeIn 1s ease-out 0.4s forwards;
}

/* Download button hover effects */
.download-btn {
  transition: all 0.3s ease;
}

.download-btn > div {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-width: 200px;
}

.download-btn:hover > div {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

/* Download button icons adjustments */
.download-btn img.h-8 {
  height: 1.8rem;
}

/* Mobile responsive adjustments for smaller screens */
@media (max-width: 640px) {
  .download-btn > div {
    min-width: 100%;
  }
}

/* Tablet responsive adjustments */
@media (min-width: 641px) and (max-width: 1024px) {
  .download-btn > div {
    min-width: 180px;
  }
}

/* Mobile: ensure no horizontal overflow */
@media (max-width: 767px) {
  #download {
    overflow: hidden;
  }
  .download-image {
    overflow: hidden;
  }
}

/* Tablet: controlled overflow */
@media (min-width: 768px) and (max-width: 1024px) {
  #download {
    overflow: hidden;
  }
  .download-image {
    overflow: hidden;
  }
}

/* Desktop: allow overflow for phone image */
@media (min-width: 1025px) {
  #download {
    overflow: visible !important; /* Ensure overflow is visible for the phones image */
  }
  
  .download-image {
    height: 120%; /* Make it taller than the section */
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: visible;
  }
}

/* Logo in the top-right corner */
#download .logo-top-right {
  opacity: 1;
}

/* Download section background */
#download {
  position: relative;
  z-index: 1; /* Give it a z-index to ensure proper stacking */
}

/* Mobile image positioning */
.download-image {
  position: relative;
  z-index: 20; /* Higher z-index to ensure it appears above other elements */
}

.download-image img {
  transform-origin: bottom right;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3)); /* Add shadow to phones for better visibility */
}

@media (min-width: 768px) {
  .download-image {
    height: 120%; /* Make it taller than the section */
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: visible;
  }
}

/* Adjust section after download to accommodate overflow */
#download + section {
  position: relative;
  z-index: 0; /* Lower z-index than the download image */
  padding-top: 5rem; /* Add extra padding to accommodate the overflowing image */
}

/* Add your custom styles here */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 3s infinite;
}

/* Testimonials Styles */
.testimonial-item {
    transition: all 0.5s ease;
}

.testimonial-item.hidden {
    display: none;
    opacity: 0;
}

.testimonial-item.active {
    display: block;
    opacity: 1;
}

/* Navigation buttons hover effects */
#prev-testimonial, #next-testimonial {
    transition: all 0.3s ease;
}

#prev-testimonial:hover, #next-testimonial:hover {
    transform: scale(1.1);
}

/* Star rating color */
.text-primary {
    color: #f7b614;
}

/* Tablet responsive design (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  /* Navbar adjustments for tablet */
  #navbar nav {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  /* Hero section adjustments */
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  /* Section spacing adjustments */
  section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  /* Grid adjustments for features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Download section adjustments */
  .download-image {
    height: 100%;
  }
}
