/* ========================= */
/* ABOUT + ADMIN LAYOUT */
/* ========================= */

* {
  margin: 0;
  padding: 0;
}

.about-admin-section {
  /* width: 100%; */
  padding: 70px;
  /* background: #f6f8fc; */
  background: url("../images/Rectangle\ 319\ \(5\).png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
 
}

.admin-left-headings {
  font-family: Merriweather;
  font-weight: 700;
  font-style: Bold;
  font-size: 36px;
 
  letter-spacing: 1%;
   color: #1C3F94;
    padding-bottom: 30px;

}

.admin-left-headings span{
    color:  #EE1B22;
   


}

.about-admin-wrapper {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  /* align-items: flex-start; */
}

/* ========================= */
/* LEFT SIDE : ADMIN CARDS */
/* ========================= */

.admin-left {
  flex: 1;
}

.admin-title {
  text-align: center;
  color: #1f3c88;
  font-size: 34px;
  margin-bottom: 50px;
}

/* GRID */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ✅ 3 cards per row */
  gap: 40px;
}

/* CARD */
.admin-card {
  border-radius: 18px;
  /* width: 405px; */
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding-left: 120px; */
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* DARK OVERLAY */
.admin-card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.35); */
  /* z-index: 0; */
}

/* RED DIAMOND */
/* .admin-card::before {
      content: "";
      position: absolute;
      left: -35px;
      bottom: -35px;
      width: 120px;
      height: 120px;
      background: #e63946;
      transform: rotate(45deg);
      z-index: 1;
    } */

/* PROFILE IMAGE */
.admin-img {
  position: absolute;
  left: 30px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  background: #fff;
  /* z-index: 2; */
}

.img-people {
  border-radius: 50%;
}

.admin-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT */
.admin-text {
  text-align: center;
}

.admin-text h3 {
   color: #1C3F94;

  margin-bottom: 15px;

  font-family: Merriweather;
font-weight: 600;
font-style: SemiBold;
font-size: 25px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 1%;

}

.admin-text p {
color: #EE1B22;

  font-family: Poppins;
font-weight: 500;
font-style: Medium;
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 1%;

}

/* ========================= */
/* FIGMA STYLE PAGINATION */
/* ========================= */

.figma-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
}

.figma-pagination button {
  width: 64px;
  height: 45px;
  border: 1.5px solid  #EE1B22;

  background: transparent;
  color: #EE1B22;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.25s;
}

.figma-pagination button.active {
  background: #EE1B22;
  color: white;
}

.figma-pagination button:hover {
  background: #EE1B22;
  color: white;
}

/* ========================= */
/* RIGHT SIDE : ABOUT US SIDEBAR (ORIGINAL FONT SIZES UNTOUCHED) */
/* ========================= */

.academic-right {
  width: 352px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

.call-img-wrap {
  width: 100%;
  height: 220px;
  background: url("../images/Rectangle 455.png") center/cover no-repeat;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.call-phone-badge {
  background-color: #EE1B22;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
}

.about-menu {
  background: #1f3c88;
  border-radius: 0 0 12px 12px;
}

.about-menu h4 {
  background-color: #fff;
  color: #e63946;
  padding: 12px 0px 12px 26px;
  font-size: 20px; /* ✅ original */
}

.about-menu ul {
  padding-left: 0;
}

.about-menu li {
  color: #fff;
  font-size: 19px; /* ✅ original */
  padding: 12px 0px 12px 37px;
  position: relative;
}

.about-menu li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 7px;
  height: 7px;
  background-color: #fff;
  border-radius: 50%;
}

.about-menu li.active {
  background: #e63946;
}

/* ========================= */
/* ✅ RESPONSIVE FIX ONLY */
/* ✅ NO STRUCTURE CHANGE */
/* ✅ NO CONTENT CHANGE */
/* ========================= */

/* ---------- Laptop (1200px and below) ---------- */
@media (max-width: 1200px) {
  .admin-grid {
    grid-template-columns: repeat(2, 1fr); /* ✅ 3 cards per row */
  }
  .about-admin-section {
    padding: 50px;
  }

  .admin-title {
    font-size: 30px;
  }

  .admin-card {
    height: 200px;
  }

  .figma-pagination button {
    width: 55px;
    height: 42px;
    font-size: 14px;
  }

  .about-menu li {
    font-size: 17px;
  }
}

/* ---------- Tablet (992px and below) ---------- */
@media (max-width: 992px) {
  .about-admin-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .academic-right {
    width: 100%;
  }

  .admin-title {
    font-size: 28px;
  }

  .admin-card {
    height: 190px;
  }

  .about-menu li {
    font-size: 16px;
  }
}

/* ---------- Small Tablet / Large Mobile (768px and below) ---------- */
@media (max-width: 768px) {
    .admin-left-headings{
        text-align: center;
        font-size: 25px;
    }
  .admin-grid {
    grid-template-columns: repeat(1, 1fr); /* ✅ 3 cards per row */
  }
  .about-admin-section {
    padding: 35px 20px;
  }

  .admin-title {
    font-size: 24px;
    margin-bottom: 35px;
  }

  .admin-card {
    height: 180px;
  }

  .admin-text h3 {
    font-size: 16px;
  }

  .admin-text p {
    font-size: 13px;
  }

  .figma-pagination {
    flex-wrap: wrap;
    gap: 10px;
  }

  .figma-pagination button {
    width: 48px;
    height: 40px;
    font-size: 13px;
  }

  .about-menu li {
    font-size: 15px;
  }
}

/* ---------- Mobile (480px and below) ---------- */
@media (max-width: 480px) {
  .about-admin-section {
    padding: 20px 12px !important;
    width: 100% !important;
  }

  .admin-title {
    font-size: 22px;
  }

  .admin-card {
    height: 165px;
  }

  .admin-img {
    width: 60px;
    height: 60px;
    left: 20px;
  }

  .admin-text h3 {
    font-size: 15px;
  }

  .admin-text p {
    font-size: 12px;
  }

  .figma-pagination button {
    width: 42px;
    height: 36px;
    font-size: 12px;
  }

  .call-img-wrap {
    height: 190px;
  }

  .about-menu li {
    font-size: 14px;
  }
}
