.page-header {
  background: #003366;
  color: #fff;
  padding: 30px 20px;
  border-radius: 6px;
}

.page-header .page-title {
  font-weight: 700;
}

.main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
}

.section h2 {
  color: #003366;
  border-bottom: 2px solid #ffcc00;
  padding-bottom: 5px;
}

.officer-card {
  display: flex;
  gap: 15px;
  align-items: center;
  background: #f5f7fa;
  padding: 15px;
  border-radius: 6px;
}

.officer-photo {
  width: 160px;
  border-radius: 8px;
  border: 2px solid #003366;
}

.sidebar .card {
  border-left: 3px solid #003366;
}

.sidebar h5 {
  color: #003366;
}

/* ================================================= */
/* PAGE HEADER                                       */
/* ================================================= */
.page-header {
    background: #f8f9fa;
    padding: 60px 0 40px;
    border-bottom: 3px solid #ddd;
}

.page-title {
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 10px;
    color: #222;
}

.page-header .lead {
    max-width: 750px;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* ================================================= */
/* MAIN GRID LAYOUT                                  */
/* ================================================= */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================= */
/* SECTION STYLING                                   */
/* ================================================= */
.section {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 25px 28px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    color: #222;
}

.section p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

.section ul {
    padding-left: 20px;
    margin-top: 10px;
}

.section ul li {
    font-size: 15px;
    margin-bottom: 6px;
    color: #333;
}

/* ================================================= */
/* GRADING REPORT DOWNLOAD BUTTON                    */
/* ================================================= */
.grading-report .btn {
    display: inline-block;
    background: #d62828; /* Red */
    color: #fff;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
    transition: 0.3s ease;
}

.grading-report .btn:hover {
    background: #b71c1c;
    transform: translateY(-1px);
}

/* ================================================= */
/* OFFICER CARD                                      */
/* ================================================= */
.officer-card {
    display: flex;
    align-items: center;
    gap: 18px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 10px;
}

.officer-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ccc;
}

.officer-details h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.officer-details .title {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.officer-details a {
    color: #c1121f;
    text-decoration: none;
}

.officer-details a:hover {
    text-decoration: underline;
}

/* ================================================= */
/* SIDEBAR CARDS                                     */
/* ================================================= */
.sidebar .card {
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.sidebar .card-body {
    padding: 18px 20px;
}

.sidebar h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.sidebar ul {
    padding-left: 18px;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 6px;
}

.sidebar ul li a {
    font-size: 14px;
    color: #444;
    text-decoration: none;
}

.sidebar ul li a:hover {
    color: #c1121f;
}

/* ================================================= */
/* CONTACT CARD                                      */
/* ================================================= */
.contact-card p {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

/* ================================================= */
/* LINKS STYLE                                       */
/* ================================================= */


a:hover {
    text-decoration: underline;
}


/* WHATSAPP FLOAT BUTTON */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
}

.whatsapp-float:hover {
    background: #1ebe5b;
}

/* ==============================
   WHATSAPP HOVER CONTACT WIDGET
============================== */

.wa-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

/* WhatsApp circle icon */
.wa-button {
    background: #25d366;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Hidden contact box */
.wa-box {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 220px;
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 14px;
}

/* Show box when hovering wrapper */
.wa-wrapper:hover .wa-box {
    display: block;
}

.wa-box a {
    display: block;
    text-decoration: none;
    color: #004aad;
    margin-bottom: 6px;
}

.wa-box a:hover {
    text-decoration: underline;
}
 
