/* Main Styles for Alwahes Website */
:root {
  --primary-color: #ff7800;
  --secondary-color: #333;
  --text-color: #444;
  --light-color: #f4f4f4;
  --dark-color: #222;
  --border-color: #ddd;
  --transition: all 0.3s ease;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  direction: rtl;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  color: var(--secondary-color);
  line-height: 1.3;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

section {
  padding: 80px 0;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #e56c00;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Header Styles */
header {
  background-color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  padding: 5px;
}

.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu li a {
  color: white;
  font-weight: 500;
  padding: 5px 10px;
  transition: all 0.3s ease;
}

.nav-menu li a:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-background.svg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 150px 0 100px;
  margin-top: 70px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 42px;
  color: white;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #eee;
}

/* Features Section */
.features {
  background-color: var(--light-color);
  text-align: center;
}

.features h2 {
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

/* How It Works Section */
.how-it-works {
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 50px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.step {
  position: relative;
  padding: 30px;
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* Cities Section */
.cities {
  background-color: var(--light-color);
  text-align: center;
}

.cities h2 {
  margin-bottom: 50px;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.city {
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.city:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.city i {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 50px;
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 350px;
  text-align: right;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
}

.testimonial-author h4 {
  margin-bottom: 5px;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .cta-button {
  background-color: white;
  color: var(--primary-color);
}

.cta-section .cta-button:hover {
  background-color: #f0f0f0;
}

/* Contact Section */
.contact {
  text-align: center;
}

.contact h2 {
  margin-bottom: 50px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-item i {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.social-media a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--light-color);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 24px;
  transition: var(--transition);
}

.social-media a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.social-media-footer {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-media-footer a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #444;
  color: white;
  border-radius: 50%;
  font-size: 18px;
  transition: var(--transition);
}

.social-media-footer a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  color: #ccc;
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background-color: white;
    width: 80%;
    height: calc(100vh - 70px);
    padding: 40px 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin-bottom: 20px;
  }
  
  .hero h1 {
    font-size: 30px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .features-grid, 
  .steps, 
  .cities-grid, 
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-media-footer {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }
  
  .cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  section {
    padding: 40px 0;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .feature-card, 
  .step, 
  .city, 
  .testimonial {
    padding: 20px;
  }
}
