.bname {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #121d27;
}
.bname span {
  color: #a51106;
}
.bsub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
}

.catcard {
  background: #fff;
  border-radius: 15px;
  padding: 22px 14px;
  text-align: center;
  cursor: pointer;
  transition: 0.4s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
}
.catcard:hover,
.catcard.active {
  transform: translateY(-7px);
  box-shadow: 0 14px 38px rgba(232, 40, 26, 0.14);
  border-color: #a51106;
}
.catimg {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  transition: 0.4s;
}
.catcard:hover .catimg {
  transform: scale(1.1) rotate(-4deg);
}
.catnm {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 3px;
}
.catct {
  font-size: 0.73rem;
  color: #bbb;
}

.readmore-btn {
  color: #444444;
  background: color-mix(in srgb, #a51106, transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.readmore-btn i {
  font-size: 14px;
}

.readmore-btn:hover {
  background: #ffffff;
  color: #444444;
}


.text-justify {
  text-align: justify !important;
}

.section-new{
  margin-top: 10px !important;
  padding-top: 10px !important;
}


/* Bursar history */
.bursar-history {
   background: #f7f8fa;
    color: #23344d;
}

.bursar-history .history-label {
    color: #a17b35;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.bursar-history .history-title {
    color: #17365d;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
}

.bursar-history .history-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: #6b7280;
    line-height: 1.8;
}

.bursar-history .history-divider {
    width: 65px;
    height: 3px;
    margin-top: 22px;
    background: #b99a5b;
}

.bursar-history .history-timeline {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.bursar-history .history-timeline::before {
    content: "";
    position: absolute;
    left: 104px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background: #d9dfE8;
}

.bursar-history .history-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.bursar-history .history-year {
    color: #9b7838;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    line-height: 1.6;
}

.bursar-history .history-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e7eaf0;
    border-left: 4px solid #17365d;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(23, 54, 93, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bursar-history .history-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(23, 54, 93, 0.10);
}

.bursar-history .history-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #edf2f8;
    color: #17365d;
    font-size: 13px;
    font-weight: 700;
}

.bursar-history .history-card h5 {
    margin: 0 0 6px;
    color: #17365d;
    font-size: 17px;
    font-weight: 650;
}

.bursar-history .history-card span {
    color: #727b88;
    font-size: 14px;
}

.bursar-history .current-bursar .history-card {
    border-left-color: #b99a5b;
    background: #fffdf8;
}

.bursar-history .current-bursar .history-icon {
    background: #f6edda;
    color: #94702d;
    font-size: 21px;
}

@media (max-width: 576px) {
    .bursar-history {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .bursar-history .history-timeline::before {
        left: 8px;
    }

    .bursar-history .history-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-left: 25px;
        margin-bottom: 24px;
    }

    .bursar-history .history-year {
        text-align: left;
        padding-left: 0;
        font-size: 12px;
    }

    .bursar-history .history-card {
        padding: 16px;
        gap: 12px;
    }

    .bursar-history .history-card h5 {
        font-size: 15px;
    }
}


#downloadTable thead th {
    background-color: #17365d;
    color: #fff;
    padding: 15px;
}

#downloadTable tbody td {
    padding: 14px 15px;
}

#downloadTable .btn-primary {
    background-color: #17365d;
    border-color: #17365d;
}

#downloadTable .btn-primary:hover {
    background-color: #b18a45;
    border-color: #b18a45;
}

#downloadTable tbody tr:hover {
    background-color: #f7f9fc;
}



/* Core Administrative Modules */
.admin-modules {
    background: #f6f8fb;
    color: #26364a;
}

.module-label {
    color: #a17b35;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.module-heading {
    color: #17365d;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
}

.module-intro {
    max-width: 680px;
    margin: 0 auto;
    color: #6b7685;
    line-height: 1.8;
}

.module-divider {
    width: 65px;
    height: 3px;
    margin-top: 20px;
    background: #b99a5b;
}

.module-card {
    position: relative;
    padding: 30px 25px;
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(23, 54, 93, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.module-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25px;
    width: 45px;
    height: 3px;
    background: #b99a5b;
}

.module-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(23, 54, 93, 0.10);
}

.module-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #edf2f8;
    color: #17365d;
    font-size: 25px;
}

.module-number {
    display: block;
    margin-bottom: 8px;
    color: #a17b35;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.module-card h4 {
    margin-bottom: 12px;
    color: #17365d;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
}

.module-description {
    margin-bottom: 20px;
    color: #6b7685;
    font-size: 14px;
    line-height: 1.8;
}

.module-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-card ul li {
    position: relative;
    padding: 13px 0 13px 20px;
    border-top: 1px solid #edf0f4;
}

.module-card ul li::before {
    content: "\f00c";
    position: absolute;
    top: 16px;
    left: 0;
    color: #b18a45;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
}

.module-card ul li strong {
    display: block;
    margin-bottom: 5px;
    color: #33445a;
    font-size: 14px;
}

.module-card ul li span {
    display: block;
    color: #727d8b;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 576px) {
    .module-card {
        padding: 25px 20px;
    }

    .module-card h4 {
        font-size: 19px;
    }
}



.procurement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.procurement-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-left: 3px solid #b99a5b;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.procurement-item:hover {
    background: #f8fafd;
    border-left-color: #17365d;
    box-shadow: 0 5px 16px rgba(23, 54, 93, 0.07);
    transform: translateX(4px);
}

.procurement-item > i {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #edf2f8;
    color: #17365d;
    border-radius: 8px;
    font-size: 18px;
}

.procurement-item h6 {
    margin: 2px 0 0;
    color: #17365d;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.procurement-item p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 576px) {
    .procurement-item {
        gap: 12px;
        padding: 15px;
    }

    .procurement-item > i {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .procurement-item h6 {
        font-size: 15px;
    }
}


.bursar-img img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.bursar-img img:hover {
    transform: scale(2.3);
}

.history-card {
    overflow: visible;
}

#header {
  transition: background-color .3s, box-shadow .3s, transform .3s;
}


.hrscta {
    background: #a51106;
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 18px 48px rgba(199, 195, 194, 0.4);
}


/* App Service Card Layout */
.app-service-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-left: 3px solid #b99a5b;
    border-radius: 8px;
    text-decoration: none;
    height: 100%;
    transition: all 0.25s ease;
}

.app-service-card:hover {
    background: #f8fafd;
    border-left-color: #17365d;
    box-shadow: 0 6px 18px rgba(23, 54, 93, 0.1);
    transform: translateY(-4px);
}

/* Icon Styles */
.app-service-card > i {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #edf2f8;
    color: #17365d;
    border-radius: 8px;
    font-size: 18px;
}

/* Content Typography */
.app-service-content h6 {
    margin: 2px 0 0;
    color: #17365d;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.app-service-content p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .app-service-card {
        gap: 12px;
        padding: 15px;
    }

    .app-service-card > i {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .app-service-content h6 {
        font-size: 15px;
    }
}