/* ===== Modern About Section ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

#about {
  font-family: 'Inter', sans-serif;
  color: rgb(15, 48, 118);
  text-align: center;
  line-height: 1.4;
  padding: 60px 0;
  background: #f7f9fc;
}

#about .highlight {
  color: #ff6600;
  font-weight: 700;
}

#about .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ===== Global Title Style (All Headings) ===== */
#about h1,
#about h2,
#about h3 {
  font-size: 32px;                 /* uniform size */
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
  background: linear-gradient(0deg, rgb(15, 48, 118), rgb(15, 48, 118));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

#about h1::after,
#about h2::after,
#about h3::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6600, #ffcc33);
  margin: 10px auto 0;
  border-radius: 3px;
}

/* ===== About Rows ===== */
#about .about-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
}

#about .about-row.reverse {
  flex-direction: row-reverse;
}

#about .about-text {
  flex: 1;
  text-align: left;
}

#about .about-text p {
  margin-bottom: 12px;
  font-size: 18px;
  color: #555;
}

#about .about-text ul {
  padding-left: 20px;
  margin-top: 20px;
}

#about .about-text ul li {
  margin-bottom: 6px;
  font-size: 17px;
  position: relative;
}

#about .about-text ul li::before {
  content: "✔";
  color: #ff6600;
  position: absolute;
  left: -20px;
  font-weight: bold;
}

/* ===== About Image ===== */
#about .about-image {
  flex: 1;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

#about .about-image img {
  width: 100%;
  border-radius: 14px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

#about .about-image img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* ===== Feature Cards ===== */
#about .features {
  text-align: center;
  margin-bottom: 45px;
}

#about .cards {
  display: flex;
  flex-wrap: nowrap; /* 4 in one row */
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

#about .cards .card {
  background: linear-gradient(145deg, #ffffff, #f0f4ff);
  padding: 24px 20px;
  border-radius: 14px;
  flex: 1 1 calc(25% - 15px); /* 4 equal cards */
  min-width: 0;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

#about .cards .card:hover {
  transform: translateY(-6px) scale(1.02);
  background: linear-gradient(145deg, #f0f8ff, #dbe6ff);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

#about .cards .card .number {
  font-size: 20px;
  font-weight: 700;
  color: #ebae63;
  margin-bottom: 10px;
}

#about .cards .card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #0f3076;
}

#about .cards .card p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* ===== Values Grid ===== */
#about .values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

#about .value-card {
  background: linear-gradient(145deg, #ffffff, #f9faff);
  padding: 18px;
  border-radius: 12px;
  color:black;
  font-weight: 500;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s ease;
}

#about .value-card:hover {
  background: linear-gradient(145deg, #fffcf5, #fff0e5);
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  #about .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #about .cards {
    flex-wrap: wrap;
  }
  #about .cards .card {
    flex: 1 1 45%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  #about .about-row,
  #about .about-row.reverse {
    flex-direction: column;
    text-align: center;
  }
  #about .about-text {
    text-align: center;
  }
  #about .about-image img {
    max-width: 90%;
    margin: 0 auto;
  }
  #about .cards .card {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
  #about .values-grid {
    grid-template-columns: 1fr;
  }
}
