/* === ABOUT PAGE STYLES === */
.about-us-section {
  /* max-width: 800px; */
  margin: 40px auto;
  padding: 0 20px;
  /* background-color: #f9f9f9; light subtle background */
  border-radius: 10px;
  /* box-shadow: 0 0 10px rgba(0,0,0,0.05); */
}

.about-us-section p {
  text-align: center;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 15px;
}


.about-page {
  max-width: 1200px;
  margin:  auto;
  padding: 2rem;
 font-family: Arial, sans-serif;
  /* background-color: #f9f9f9; */
  color: #1a1a1a;
}

/* Section Heading */
.about-head {
  font-size: 2.5rem;
    margin-bottom: 12px;
    color: #b60000;
    text-align: center;
    font-weight: 700;
}

.about-head::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffc107;
  margin: 10px auto 0;
  border-radius: 10px;
}
.card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.info-card {
  flex: 1 1 30%;
  min-width: 280px;
  /* background-color: #fff; */
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

/* Info Sections */
.info-1,
.info-2,
.info-3 {
  background-color: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  /* Start hidden and moved down for animation */
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

/* Subheadings */
.info-1 h3,
.info-2 h3,
.info-3 h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e3c78;
  margin-bottom: 1rem;
}

/* List Items */
.list {
  list-style: none; /* Remove default bullets */
  padding-left: 1.2rem;
  margin-top: 1rem;
}

.list li {
  position: relative;
  padding-left: 25px; /* Space for the tick */
  margin-bottom: 0.6rem;
  color: #b60000;
  font-size: 1.05rem;
}

.list li::before {
  content: "✔"; /* Tick mark */
  color: #ffc107;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  line-height: 1;
}

/* Paragraphs */
.main-info {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
  margin-top: 1rem;
  text-align: justify;
}

/* Team Section */
.list-aksharmaya {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
  margin-top: 1rem;
  text-align: justify;
}

/* === FOUNDERS SECTION === */
.founders {
  margin-top: 3rem;
}

.founder-head h2 {
  font-size: 2.2rem;
  text-align: center;
  color: #1e3c78;
  margin-bottom: 2rem;
}

.founders-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Founder Card */
.founders-list .founder {
  background: linear-gradient(145deg, #ffffff, #f1f1f1);
  border: 1px solid #e0e0e0;
  padding: 1.8rem;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  font-size: 1rem;
  line-height: 1.6;
  /* Start hidden and moved down for animation */
  opacity: 0;
  transform: translateY(20px);
}

.founder:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.founder b {
  color: #b60000;
}

/* === Animation Class === */
.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsive Styles === */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .about-page {
    padding: 1.5rem 1.5rem;
    max-width: 90%;
  }
    
  .about-head {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  /* Make info sections take full width */
  .info-1,
  .info-2,
  .info-3 {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  /* Slightly smaller subheadings */
  .info-1 h3,
  .info-2 h3,
  .info-3 h3 {
    font-size: 1.4rem;
  }

  /* List items font size */
  .list li {
    font-size: 1rem;
  }

  /* Founders grid becomes two columns */
  .founders-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .founder {
    font-size: 0.95rem;
    padding: 1.5rem;
  }

  .founder-head h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .about-page {
    padding: 1rem 1rem;
    max-width: 100%;
  }
    /* .navbar {
      width: 239%;
    } */

  .about-head {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .info-1,
  .info-2,
  .info-3 {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .info-1 h3,
  .info-2 h3,
  .info-3 h3 {
    font-size: 1.2rem;
  }

  .list li {
    font-size: 0.95rem;
  }

  /* Founders stack vertically */
  .founders-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .founder {
    font-size: 0.9rem;
    padding: 1.2rem;
  }

  .founder-head h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}
