/* Existing CSS content remains the same, adding new logo styles */
.navbar-brand {
  padding: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Rest of the existing CSS content remains unchanged */
:root {
  /* Primary Colors */
  --primary: #2962FF;
  --primary-dark: #0039CB;
  --primary-light: #768FFF;
  
  /* Secondary Colors */
  --secondary: #00BFA5;
  --secondary-dark: #008E76;
  --secondary-light: #5DF2D6;
  
  /* Accent Colors */
  --accent: #FF6D00;
  --accent-dark: #C43C00;
  --accent-light: #FF9E40;
  
  /* Feedback Colors */
  --success: #00C853;
  --warning: #FFD600;
  --error: #D50000;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;
  --black: #000000;
  
  /* Text Colors */
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-700);
  --text-muted: var(--gray-600);
  --text-light: var(--white);
  
  /* Fonts */
  --font-family: 'Cairo', sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.5;
  
  /* Spacing */
  --spacer: 1rem;
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  
  /* Box Shadow */
  --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Base Styles */
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.section-heading {
  position: relative;
  font-weight: 700;
  color: var(--text-primary);
}

.section-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  margin: 15px auto 0;
}

.section-subheading {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.py-6 {
  padding-top: calc(var(--spacer) * 6);
  padding-bottom: calc(var(--spacer) * 6);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Navbar */
#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--box-shadow-sm);
  transition: all 0.3s ease;
}

#mainNav .navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

#mainNav .brand-text {
  transition: color 0.3s ease;
}

#mainNav .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

#mainNav .nav-link:hover {
  color: var(--primary);
}

.btn-primary-outline {
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  color: var(--primary) !important;
  transition: all 0.3s ease;
}

.btn-primary-outline:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  padding-top: 8rem;
  background: linear-gradient(135deg, rgba(41, 98, 255, 0.1) 0%, rgba(0, 191, 165, 0.1) 100%);
  overflow: hidden;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-text h2 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-image {
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
}

.hero-buttons .btn {
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  box-shadow: var(--box-shadow-sm);
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
}

/* About Section */
.about-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: var(--white);
  box-shadow: var(--box-shadow-sm);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.about-icon {
  color: var(--primary);
}

/* Features Section */
.feature-item {
  padding: 2.5rem;
  border-radius: var(--border-radius);
  background-color: var(--white);
  box-shadow: var(--box-shadow-sm);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(41, 98, 255, 0.1);
  color: var(--primary);
}

/* How It Works Section */
.step-image img {
  border-radius: var(--border-radius-lg);
  transition: all 0.3s ease;
}

.steps-container {
  position: relative;
  padding: 1rem;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: bold;
  margin-left: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-connector {
  position: relative;
  width: 3px;
  height: 3rem;
  margin-right: 1.5rem;
  margin-right: calc(1.5rem + 1.5rem - 1.5px);
  background-color: var(--primary-light);
}

/* CTA Section */
.cta {
  position: relative;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.download-buttons .btn {
  padding: 0.8rem 2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.download-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* Contact Section */
.contact-form-wrapper {
  padding: 2.5rem;
  border-radius: var(--border-radius);
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.form-control {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-300);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(41, 98, 255, 0.25);
}

.form-floating > label {
  right: 0;
  padding: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--gray-200);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Footer */
.footer {
  position: relative;
  background-color: var(--gray-900);
}

.footer-links {
  list-style: none;
  padding-right: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-right: 5px;
}

.footer-bottom-links {
  list-style: none;
  padding-right: 0;
  margin-bottom: 0;
  display: flex;
  justify-content: flex-end;
}

.footer-bottom-links li {
  margin-right: 1.5rem;
}

.footer-bottom-links li:last-child {
  margin-right: 0;
}

.footer-bottom-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.subscribe-form .form-control {
  height: 50px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.subscribe-form .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
}

/* Custom Button Styles */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 6rem;
    height: auto;
  }
  
  .hero-text {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .steps-container {
    margin-top: 3rem;
  }
}

@media (max-width: 767.98px) {
  .section-heading {
    font-size: 2rem;
  }
  
  .feature-item, .about-card {
    padding: 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }
  
  .download-buttons .btn {
    display: block;
    width: 100%;
  }
}