html, body {
  margin: 0;
  padding: 0;
  background: rgba(20, 20, 20, 0.877);
  
}



/* ===== ABOUT PAGE ROOT ===== */
.about-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  /* padding-bottom: 80px; */
}

/* ===== BACKGROUND IMAGE ===== */
.about-bg {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.877);
  filter: blur(8px) brightness(40%);
  transform: scale(1.1);
  z-index: 0;
}

/* ===== ENSURE ALL CONTENT IS ABOVE BG ===== */
.about-page > section {
  position: relative;
  z-index: 1;
}

/* ===== HERO ===== */
.about-hero {
  text-align: center;
  
  
  
}

.about-hero h4 {
  font-size: 32px;

  color: #ffffff;
}

.about-hero p {
  font-size: 18px;
  color: #ffffff;
}

/* ===== SECTION WRAPPER (CONTENT-SIZED) ===== */
.about-section {
  margin: 40px auto;
  padding: 0;

  /* background: rgba(20, 20, 20, 0.877); */
  border-radius: 18px;
  /* box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); */

  width: 100%;
  max-width: 1100px;
}

/* ===== TITLES ===== */
.section-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #ffffff;
}

/* ===== INNER CARDS ===== */
.about-card,
.info-card,
.value-card {
  background: #1c1c1c;
  border-radius: 14px;
  padding: 26px;
  color: #eaeaea;
}

/* Limit paragraph width for readability */
.about-card,
.info-card {
  max-width: 800px;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* ===== CORE VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 25px;
}

.value-card h4 {
  margin-bottom: 8px;
  color: #4ea3ff;
}

/* ===== JOURNEY ===== */
.journey {
  background:  #1c1c1c;
  border-radius: 18px;
  /* padding: 30px; */
  max-width: 900px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
}

.timeline-item {
  display: flex;
  gap: 10px;
  color: #ffffff;
}

.timeline-item span {
  color: #4ea3ff;
  font-weight: bold;
  min-width: 60px;
}
.teacher-card{
  padding: 15px;
}


.bio{
  color: #dddddd;
}

.designation{
  color: #aaaaaa;
}
.teacher-card h3{
  color: #1c1c1c;
}
/* ===== TEXT COLORS ===== */
.about-card p,
.info-card p,
.value-card p {
  color: #dddddd;
}

/* JOURNEY + TEACHER LAYOUT */
.journey-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    max-width: 95%;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .journey-layout {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    flex-direction: column;
    gap: 5px;
  }

  .timeline-item span {
    min-width: auto;
  }
}
