.container {
  width: 100%;
  max-width: 1200px;
  /* تقدر تغير الرقم حسب ما يناسبك */
  margin: 0 auto;
  padding: 0 20px;
  /* مسافة من اليمين واليسار */
  box-sizing: border-box;
}


/* Hero Section */
.hero {
  background:
    linear-gradient(135deg, rgba(5, 29, 76, 0.7), rgba(15, 35, 85, 0.5)),
    url("../img/backgroundabout.webp") center center/cover no-repeat;
  background-blend-mode: multiply;
  /* أو normal */

  color: var(--bodyTextColorWhite);
  padding: 120px 0;
  text-align: center;

  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><path d="M0,50 C250,100 750,0 1000,50 L1000,100 L0,100 Z"/></svg>');
  background-size: cover;
  background-position: bottom;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondaryLight);
  display: block;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 5px;
}

/* Section Styling */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--headerColor);
  margin-bottom: 20px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--bodyTextColor);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-white {
  color: var(--bodyTextColorWhite);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.section-subtitle-white {
  text-align: center;
  font-size: 1.2rem;
  color: var(--bodyTextColorWhite);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Mission & Vision */
.mission-vision {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.mv-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-10px);
}

.mv-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.mv-card h3 {
  font-size: 1.8rem;
  color: var(--headerColor);
  margin-bottom: 20px;
}

.mv-card p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Our Story */
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.story-text h3 {
  color: var(--headerColor);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.story-image {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url("../img/backSmallSection.webp") center center/cover no-repeat;
  height: 400px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

/* Services */
.services {
  background: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--headerColor);
  margin-bottom: 15px;
}

/* Statistics */
.statistics {
  background: url("../img/SmallLast.webp") center center/cover no-repeat;
  color: var(--bodyTextColorWhite);
  padding: 4rem 1rem;
  position: relative;
  text-align: center;
}

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

.stat-card {
  text-align: center;
  padding: 30px;
}

.stat-card i {
  font-size: 3rem;
  color: var(--secondaryLight);
  margin-bottom: 20px;
}

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}



/* Why Choose Us */
.why-choose {
  background: #f8f9fa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--headerColor);
  margin-bottom: 15px;
}

/* Blog Section */
.blog-section {
  background: #f8f9fa;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.blog-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.blog-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(242, 29, 35, 0.8), rgba(67, 139, 255, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image::before {
  opacity: 1;
}

.blog-image-1 {
  background-image: url("../img/Whisk_36adf3ec3b\ \(1\).webp");
}

.blog-image-2 {
  background-image: url("../img/Whisk_358e85d11e\ \(1\).webp");
}

.blog-image-3 {
  background-image: url("../img/Whisk_cd96e5a31f\ \(1\).webp");
}

.blog-content {
  padding: 25px;
}

.blog-card h3 {
  color: var(--headerColor);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
}

.blog-meta {
  color: var(--bodyTextColor);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-meta i {
  color: var(--primary);
}

.blog-card p {
  color: var(--bodyTextColor);
  line-height: 1.6;
  font-size: 0.95rem;
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--secondary);
}

.blog-card:hover .read-more {
  color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }

  .mv-grid,
  .story-content {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blog-image {
    height: 180px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-card h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .blog-image {
    height: 160px;
  }

  .blog-content {
    padding: 15px;
  }

  .container {
    padding: 0 15px;
  }
}