.hero-section {
  background-image: url("/assets/design-images/490758551_1237200558417968_9088526537017238591_n.jpg");
}

/* ============================== */
/*        OUR STORY SECTION       */
/* ============================== */
.story-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .story-grid {
    flex-direction: row;
    align-items: center;
  }
}

.story-text {
  flex: 1;
  padding-right: 2rem;
}

.story-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .story-text h2 {
    font-size: 2.5rem;
  }
}

.story-text p {
  font-size: 0.865rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Quote Box */
.story-quote {
  background: #f8f8f8;
  padding: 1.5rem;
  border-left: 4px solid var(--primary, #0d0d0d);
  border-radius: 0.5rem;
}

.quote-text {
  font-style: italic;
  color: #444;
}

.quote-author {
  margin-top: 0.865rem;
  font-weight: 600;
}

/* Image */
.story-image {
  width: 100%;
  height: 350px;
  background-image: url("/assets/design-images/sibusisiwe-pass-award.jpg");
  background-size: cover; /* Fill the container */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent tiling */
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .story-image {
    flex: 1;
  }
}

/* ============================== */
/*        LEADERSHIP SECTION      */
/* ============================== */

/* Grid */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .leadership-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cards */
.leader-card {
  border-radius: 5px;
  /*   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); */
  text-align: center;
  height: fit-content;
  position: relative;
  overflow: hidden;
  border: 1px solid #f1f1f1;
}
.leader-card:active,
.leader-card:hover {
  border-color: #f1f1f1;
}

.leader-card img {
  width: 100%;
  height: 310px;
  object-fit: 100%;
  background-image: url("/assets/staff-headshots/491065983_1240681534736537_7388654291993094914_n.jpg");
  background-size: contain;
}

/* Text */
.leader-info {
  padding: 1.5rem;
}

.leader-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: #222;
}

.leader-role {
  color: var(--primary, #0d0d0d);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.leader-desc {
  color: #555;
  line-height: 1.6;
  font-size: 0.8rem;

  i {
    color: #017c39;
    font-weight: 500;
    font-style: italic;
    font-size: 0.765rem;
  }
}
/* ================================== */
/*  ACCREDITATION & AFFILIATIONS CSS  */
/* ================================== */

.accreditation-content {
  width: 100%;
  padding-left: 0;
}

@media (min-width: 768px) {
  .accreditation-content {
    width: 66%;
    padding-left: 2rem; /* md:pl-8 equivalent */
  }
}

.accreditation-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111;
}

@media (min-width: 768px) {
  .accreditation-title {
    font-size: 2.25rem;
  }
}

.accreditation-text {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.865rem;
}

.accreditation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accreditation-list li {
  display: flex;
  align-items: flex-start;
  font-size: 0.865rem;
  margin-bottom: 0.75rem;
  color: #555;
}

/* ================================== */
/*  MISSION, CORE VALUES, VISION CARDS  */
/* ================================== */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  position: relative;
  overflow: hidden;
  padding: 0.5rem;
  border-radius: 1rem;
}

.v-card-content {
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}
.upside-down-triangle {
  width: 125px;
  height: 100px;
  top: 0;
  left: 0;
  background: red;
  clip-path: polygon(0% 100%, 0 0, 100% 0);
  animation: bounce 2s infinite;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: absolute;
}
.upside-down-triangle.one {
  background: linear-gradient(65deg, Red, #a60000);
}
.upside-down-triangle.two {
  background: linear-gradient(65deg, #fff200, #d2b600);
}
.upside-down-triangle.three {
  background: linear-gradient(65deg, #57cc72, #1d911f);
}

.icon-circle {
  width: 4rem;
  height: 4rem;
  background-color: #cccccc1a; /* primary with opacity */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  margin: auto;

  i {
    display: flex;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary); /* primary color */
    margin: auto;
  }
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #111;
}

.card-text {
  font-size: 0.865rem;
  line-height: 1.6;
  color: #555;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  font-size: 0.865rem;
  margin-bottom: 0.5rem;
  color: #555;
}

.check-icon {
  display: inline-block;
  width: 1rem;
  margin-right: 0.5rem;
  margin-top: 0.15rem;
  font-weight: 900;
  color: #0d0d0d; /* primary color */
}
