/* SECTION WRAPPER */
.legacy-principal-style {
  padding: 15px 0;
  background: var(--bg-light);
}

/* MAIN BOX */
.legacy-principal-style .principal-section {
  background: var(--white);
  border-radius: 50px;
  padding: 60px;

  /* ❌ REMOVE FLEX */
  display: block;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  margin: 80px 0;

  /* PATTERN BACKGROUND */
  background-image: linear-gradient(
    45deg,
    #ffffff 25%,
    #f9f9f9 25%,
    #f9f9f9 50%,
    #ffffff 50%,
    #ffffff 75%,
    #f9f9f9 75%,
    #f9f9f9 100%
  );
  background-size: 40px 40px;
}

/* IMAGE CONTAINER (NEW) */
.legacy-principal-style .principal-img {
  float: left;
  width: 415px;
  margin: 10px 30px 20px 0;
}

/* IMAGE */
.legacy-principal-style .principal-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 40px;
  border: 10px solid #fff;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  transform: rotate(-3deg);
  transition: 0.3s;
}

.legacy-principal-style .principal-img img:hover {
  transform: rotate(0deg) scale(1.05);
}

/* CONTENT */
.legacy-principal-style .principal-content {
  display: block;
}

/* TITLE */
.legacy-title {
  color: var(--primary-red);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* REMOVE UNDERLINE */
.legacy-title::after {
  display: none;
}

/* TEXT */
.legacy-principal-style .principal-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}

/* CLEAR FLOAT */
.legacy-principal-style .principal-content::after {
  content: "";
  display: block;
  clear: both;
}

.principal-content h4 {
  margin: 15px 0;
  color: #11236D;
  font-weight: 600;
}

.principal-content table {
  margin-top: 20px;
}

.principal-content table img {
  border-radius: 6px;
}

/* MODERN TABLE DESIGN */
.custom-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* HEADER */
.custom-table thead {
  background: linear-gradient(135deg, #263489, #3f51b5);
  color: #fff;
}

.custom-table thead th {
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border: none;
}

/* BODY */
.custom-table tbody td {
  padding: 12px;
  font-size: 14px;
  text-align: center;
  color: #444;
  border-bottom: 1px solid #eee;
}

/* ROW STRIPES */
.custom-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

/* HOVER EFFECT */
.custom-table tbody tr:hover {
  background: rgba(255, 183, 3, 0.35); /* accent-yellow */
  transition: 0.3s ease;
}

/* IMAGE STYLE */
.custom-table img {
  width: 145px;
  height: 165px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 5px 12px rgba(0,0,0,0.1);
}

.custom-table tbody td:nth-child(3) {
  background: linear-gradient(135deg, #ffe0cc, #fff3e6);
  color: #cc5200;
  font-weight: 600;
  border-radius: 6px;
}



/* FIRST COLUMN STYLE */
.custom-table td:first-child {
  font-weight: 600;
  color: #263489;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .custom-table thead {
    display: none;
  }

  .custom-table, 
  .custom-table tbody, 
  .custom-table tr, 
  .custom-table td {
    display: block;
    width: 100%;
  }

  .custom-table tr {
    margin-bottom: 15px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
  }

  .custom-table td {
    text-align: left;
    padding: 8px;
    position: relative;
  }

  .custom-table td::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    color: #263489;
    margin-bottom: 3px;
  }
}


/* RESPONSIVE */
@media (max-width: 992px) {
  .legacy-principal-style .principal-img {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
    text-align: center;
  }

  .legacy-principal-style .principal-section {
    padding: 30px;
    text-align: center;
  }
}

