/* Container */
.about-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Cards */
.about-card {
  background: #ffffff;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Headings */
.about-card h2 {
  margin-bottom: 15px;
  color: #1f3c88;
}

/* Lists */
.about-card ul {
  padding-left: 20px;
}

.about-card li {
  margin-bottom: 10px;
}

/* AWS feature pills */
.aws-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.aws-features span {
  background: #eef3ff;
  color: #1f3c88;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.team-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.team-card h3 {
  margin-bottom: 10px;
}

.team-card.leader {
  border-left: 6px solid #1f3c88;
}

/* Disclaimer */
.disclaimer {
  background: #fff4f4;
  border-left: 6px solid #d9534f;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   RESPONSIVE DESIGN
================================ */

/* Tablets & small laptops */
@media (max-width: 1024px) {

  .about-container {
    margin: 30px auto;
  }

  .about-card {
    padding: 25px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets & large phones */
@media (max-width: 768px) {

  .about-container {
    padding: 0 16px;
  }

  .about-card {
    padding: 22px;
  }

  .about-card h2 {
    font-size: 22px;
  }

  .aws-features {
    justify-content: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile phones */
@media (max-width: 480px) {

  .about-container {
    margin: 20px auto;
  }

  .about-card {
    padding: 18px;
  }

  .about-card h2 {
    font-size: 20px;
    text-align: center;
  }

  .about-card p,
  .about-card li {
    font-size: 15px;
    line-height: 1.6;
  }

  .aws-features span {
    font-size: 13px;
    padding: 6px 12px;
  }

  .team-card {
    padding: 18px;
  }

  .team-card h3 {
    font-size: 16px;
  }

  .disclaimer {
    text-align: center;
  }
}
