/* ================================
   Software Engineering Page Styles
   ================================ */

/* Base helpers */
.section {
  padding: 60px 20px;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Hero Section */
.inner-hero {
  background: #f0f8ff; /* أزرق فاتح مائل للرمادي */
  color: #003366;
  padding: 80px 20px;
  text-align: center;
}
.inner-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.inner-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Highlights Section */
.two-column-highlight {
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}
.two-column-highlight .column {
  background-color: #eef6f9; /* رمادي فاتح */
  padding: 30px;
  border-radius: 10px;
  flex: 1 1 320px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.two-column-highlight .column h2 {
  color: #003366;
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.two-column-highlight .column p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

/* Benefits Section */
.section .benefits-list {
  background-color: #fff8d0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.benefits-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #333;
}
.benefits-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.benefits-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #003366;
  font-weight: bold;
}

/* Process Section */
.process {
  background: #f9f9f9;
}
.process h2 {
  text-align: center;
  font-size: 2rem;
  color: #003366;
  margin-bottom: 40px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  counter-reset: step;
  padding: 0;
}
.process-steps li {
  list-style: none;
  background-color: #eef6f9;
  padding: 22px 22px 22px 56px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  position: relative;
  color: #333;
}
.process-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #003366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-steps li strong {
  display: block;
  margin-bottom: 6px;
  color: #003366;
  font-size: 1.05rem;
}

/* Technologies Section */
.technologies {
  background: #fdf6f0;
  text-align: center;
}
.technologies h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 18px;
}
.technologies p {
  font-size: 1.1rem;
  color: #555;
  max-width: 760px;
  margin: 0 auto 28px;
}
.tech-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 18px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.tech-logos .tech {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tech-logos .tech:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.tech-logos img {
  height: 36px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}
.tech-logos .label {
  font-size: 0.9rem;
  color: #333;
}

/* Testimonials Section */
.testimonials {
  background: #fff;
}
.testimonials h2 {
  text-align: center;
  margin-bottom: 32px;
  color: #003366;
}
.testimonials .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.testimonial.card {
  background: #eef6f9;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  flex: 1 1 320px;
  max-width: 360px;
}
.testimonial p {
  font-size: 1rem;
  color: #333;
}
.testimonial .author {
  margin-top: 12px;
  font-weight: bold;
  text-align: right;
  color: #003366;
}

/* Portfolio Section */
.portfolio {
  background: #fff;
}
.portfolio h2 {
  text-align: center;
  margin-bottom: 32px;
  color: #003366;
}
.portfolio .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.portfolio .card {
  background: #f9f9f9;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio .card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  color: #003366;
}
.portfolio .card p {
  font-size: 0.95rem;
  color: #555;
}
.portfolio .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* CTA Section */
.cta {
  background: #fff8d0;
  text-align: center;
}
.cta .btn-yellow {
  font-size: 1.2rem;
  padding: 15px 30px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffd700;
  color: #000;
  display: inline-block;
}
.cta .btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .inner-hero h1 { font-size: 2.2rem; }
  .two-column-highlight .column { flex: 1 1 100%; }
  .benefits-list { font-size: 1rem; }
  .tech-logos img { height: 32px; }
}
