/* Department / programme pages */
.dept-hero-bg { background: linear-gradient(110deg, #061f46, #0b3a7a); }
.page-hero .page-hero-img { background: linear-gradient(110deg, #061f46, #0b3a7a); }

.dept-detail h3 { font-size: 36px; font-weight: 700; line-height: 1.2; color: #0b2a5b; margin-bottom: 18px; }
.dept-photo { display: block; width: 100%; aspect-ratio: 16 / 6.5; object-fit: cover; border-radius: 14px; margin-bottom: 22px; background: linear-gradient(110deg, #0b2a5b, #0b3a7a); box-shadow: 0 10px 26px rgba(11,42,91,.15); }

.dept-heading { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 14px; }
.dept-heading::after { content: ""; width: 100px; height: 3px; border-radius: 6px; background: #e85f10; }
.dept-heading h4 { font-size: 30px; font-weight: 700; color: #0b2a5b; margin: 0; }

.dept-detail p { font-size: 15px; line-height: 1.75; color: #000; margin-bottom: 16px; }
.dept-detail p strong { color: #0b2a5b; }

.dept-objectives { display: flex; gap: 16px; background: #e8f0fb; border-radius: 12px; padding: 18px 20px; margin-top: 8px; }
.dept-objectives .icon { flex: 0 0 44px; height: 44px; border-radius: 50%; background: #FF520F; color: #fff; display: flex; align-items: center; justify-content: center; }
.dept-objectives h5 { font-size: 15px; font-weight: 700; color: #0b2a5b; margin-bottom: 10px; }
.dept-objectives ul { list-style: none; margin: 0; padding: 0; }
.dept-objectives li { position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.6; color: #2b3a55; margin-bottom: 6px; }
.dept-objectives li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #FF520F; }

@media (max-width: 991px) {
  .dept-detail h3 { font-size: 30px; }
  .dept-heading h4 { font-size: 26px; }
}
@media (max-width: 575px) {
  .dept-detail h3 { font-size: 24px; }
  .dept-heading h4 { font-size: 22px; }
  .dept-photo { aspect-ratio: 4 / 3; }
  .dept-objectives { flex-direction: column; }
  .page-hero-inner h1 { font-size: 28px; line-height: 1.2; }
}

/* Curriculum & Syllabus section */
.dept-curriculum { scroll-margin-top: 110px; }
.dept-curriculum > p { margin-bottom: 20px; }
.dept-syllabus-list { display: flex; flex-direction: column; gap: 10px; }
.dept-syllabus-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; background: #f6f6f6; border-radius: 10px; text-decoration: none; transition: .2s; }
.dept-syllabus-item span { font-size: 14px; font-weight: 700; text-transform: uppercase; color: #000; line-height: 1.4; }
.dept-syllabus-item i { flex: 0 0 28px; height: 28px; border-radius: 50%; background: #FF520F; color: #fff; display: flex; align-items: center; justify-content: center; }
.dept-syllabus-item:hover { background: #efefef;   transform: translateX(2px); }
@media (max-width: 575px) {
  .dept-syllabus-item { padding: 12px 14px; }
  .dept-syllabus-item span { font-size: 12.5px; }
}

/* Vision & Mission */
.dept-vision { scroll-margin-top: 110px; }
.dept-vision-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.dept-vision-media { border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #0b2a5b, #0b3a7a); aspect-ratio: 4 / 5; }
.dept-vision-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dept-vision-text .dept-heading { margin-top: 0; }
.dept-vision-text .dept-heading ~ .dept-heading { margin-top: 20px; }

/* Achievements */
.dept-achievements { scroll-margin-top: 110px; }
.dept-box { background: #f4f8fe; border: 1px solid #dbe6f5; border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; }
.dept-box h5 { font-size: 16px; font-weight: 700; color: #0b3a7a; margin-bottom: 6px; }
.dept-box-sub { font-size: 13px !important; color: #0b3a7a !important; text-decoration: underline; margin-bottom: 10px !important; }
.dept-box-list { margin: 0; padding-left: 20px; font-size: 14px; color: #1c2c4a; line-height: 1.7; }
.dept-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #dbe6f5; border-radius: 8px; }
.dept-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.dept-table th { background: #e8f0fb; color: #0b2a5b; font-size: 13px; font-weight: 700; text-align: left; padding: 10px 12px; border-bottom: 1px solid #dbe6f5; }
.dept-table td { font-size: 13px; color: #1c2c4a; padding: 10px 12px; border-top: 1px solid #eef2f8; vertical-align: top; }
.dept-achv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
.dept-achv-split .dept-box { margin-bottom: 0; }
.dept-bullets { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.6; color: #1c2c4a; }
.dept-bullets li { margin-bottom: 6px; }

@media (max-width: 991px) {
  .dept-vision-grid { grid-template-columns: 1fr; }
  .dept-vision-media { aspect-ratio: 16 / 10; }
  .dept-achv-split { grid-template-columns: 1fr; }
}

/* Photo with orange corner + dotted accent (matches design) */
.dept-photo-wrap { position: relative; margin-bottom: 30px; }
.dept-photo-wrap .dept-photo { position: relative; z-index: 1; margin-bottom: 0; box-shadow: none; }
.dept-photo-wrap::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 38%; height: 58%; border-right: 6px solid #FF520F; border-bottom: 6px solid #FF520F; border-bottom-right-radius: 24px; z-index: 0; pointer-events: none; }
.dept-photo-wrap::before { content: ""; position: absolute; right: -4px; top: -26px; width: 58px; height: 82px; background: radial-gradient(circle, #FF8A5C 1.6px, transparent 1.8px) 0 0 / 10px 10px; z-index: 2; pointer-events: none; }
.dept-detail h3 { font-size: 40px; }
@media (max-width: 991px) { .dept-detail h3 { font-size: 32px; } }
@media (max-width: 575px) {
  .dept-detail h3 { font-size: 26px; }
  .dept-photo-wrap::before { width: 40px; height: 56px; top: -18px; }
  .dept-photo-wrap::after { right: -4px; bottom: -4px; border-width: 4px; }
}

/* Achievements: design refinements (navy table head, orange bullets, accent bar) */
.dept-table th { background: #0b3a7a; color: #fff; border-bottom: 0; }
.dept-table tbody tr:nth-child(even) { background: #f4f8fe; }
.dept-box h5 { position: relative; padding-left: 14px; }
.dept-box h5::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: #FF520F; }
.dept-bullets { list-style: none; padding-left: 0; }
.dept-bullets li { position: relative; padding-left: 16px; }
.dept-bullets li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%;  }

/* Faculty Members */
.dept-faculty { scroll-margin-top: 110px; }
.fac-tools { display: flex; gap: 14px; margin-bottom: 16px; }
.fac-search { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; border: 1px solid #dbe6f5; border-radius: 8px; padding: 0 14px; height: 44px; color: #5b6b86; background: #fff; margin: 0; }
.fac-search input { border: 0; outline: 0; width: 100%; font-size: 14px; background: transparent; color: #1c2c4a; }
.fac-select { flex: 0 0 240px; height: 44px; border: 1px solid #dbe6f5; border-radius: 8px; padding: 0 12px; font-size: 14px; color: #1c2c4a; background: #fff; }
.fac-clear { flex: 0 0 auto; height: 44px; padding: 0 30px; border: 1px solid #0b3a7a; border-radius: 8px; background: #fff; color: #0b3a7a; font-weight: 600; font-size: 14px; cursor: pointer; }
.fac-clear:hover { background: #0b3a7a; color: #fff; }
.fac-table-wrap { border: 1px solid #dbe6f5; border-radius: 8px; overflow: hidden; }
.fac-table { width: 100%; border-collapse: collapse; }
.fac-table th { background: #0b2a5b; color: #fff; font-size: 13px; font-weight: 700; text-align: center; padding: 12px 10px; border-right: 1px solid rgba(255,255,255,.15); }
.fac-table th:nth-child(2) { text-align: left; }
.fac-table td { font-size: 13.5px; color: #1c2c4a; padding: 10px; border-top: 1px solid #e3ebf6; border-right: 1px solid #e3ebf6; text-align: center; vertical-align: middle; }
.fac-table td:last-child, .fac-table th:last-child { border-right: 0; }
.fac-table td:nth-child(2) { text-align: left; padding-left: 20px; }
.fac-table tbody tr:nth-child(even) { background: #f6f9fe; }
.fac-role { display: inline-block; color: #0b3a7a; font-size: 14px; padding: 2px 14px; border-radius: 4px; white-space: nowrap; }
.fac-photo { width: 100px; height: 120px; border-radius: 10%; object-fit: cover; background: #e8f0fb; display: inline-block; vertical-align: middle; }
.fac-empty { padding: 24px !important; color: #5b6b86; }
.fac-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.fac-count { font-size: 13px; color: #44546f; }
.fac-pager { display: flex; gap: 8px; flex-wrap: wrap; }
.fac-pager button { min-width: 38px; height: 36px; padding: 0 14px; border: 1px solid #dbe6f5; border-radius: 6px; background: #fff; color: #0b3a7a; font-size: 13px; cursor: pointer; }
.fac-pager button.on { background: #0b3a7a; border-color: #0b3a7a; color: #fff; }
.fac-pager button:disabled { color: #8b97ad; cursor: default; }
@media (max-width: 767px) {
  .fac-tools { flex-direction: column; }
  .fac-select, .fac-clear { flex-basis: auto; width: 100%; }
  .fac-table thead { display: none; }
  .fac-table, .fac-table tbody, .fac-table tr, .fac-table td { display: block; width: 100%; }
  .fac-table tr { padding: 10px 12px; border-top: 1px solid #e3ebf6; position: relative; }
  .fac-table td { border: 0; text-align: left !important; padding: 4px 0 4px 110px !important; position: relative; min-height: 24px; }
  .fac-table td::before { content: attr(data-l); position: absolute; left: 0; top: 4px; width: 100px; font-weight: 700; color: #0b2a5b; font-size: 12px; }
}

/* Programme objectives: alternating blue / peach rows */
.dept-obj { scroll-margin-top: 110px; }
.dept-detail p.dept-obj-lead { font-size: 15px; color: #000; margin: -4px 0 16px; }
.dept-obj-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dept-obj-list li {font-size: 15px;
  line-height: 1.75;
  color: #000;
  margin-bottom: 0px;}
 
@media (max-width: 575px) {
  .dept-obj-list li { padding: 16px 16px; font-size: 14.5px; }
}

/* Laboratory facilities */
.dept-labs { scroll-margin-top: 110px; }
.dept-labs-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.dept-labs-text .dept-heading { margin-top: 0; }
.dept-labs-text p {font-size: 15px;
  line-height: 1.75;
  color: #2b3a55;
}
.dept-labs-photo { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #0b2a5b, #0b3a7a); }
.dept-labs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dept-labs-panel { margin-top: 10px; padding: 18px 0px 20px; border-radius: 12px;   }
.dept-labs-panel h5 { font-size: 20px; font-weight: 700; color: #e85f10; margin: 0 0 14px; }
.dept-labs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.dept-labs-col { display: flex; flex-direction: column; gap: 10px; }
.dept-lab-item { padding: 15px 0px; border-radius: 8px;  } 
.dept-lab-item h5 { font-size: 18px; font-weight: 700; color: #0b3a7a; margin: 0 0 4px; }
.dept-detail .dept-lab-item p {font-size: 15px;
  line-height: 1.75;
  color: #000;}
.dept-detail p.dept-labs-note { font-size: 14px; line-height: 1.55; color: #0b2a5b; margin: 6px 0 0; padding: 0 4px; }
@media (max-width: 991px) {
  .dept-labs-top, .dept-labs-grid { grid-template-columns: 1fr; }
  .dept-labs-col + .dept-labs-col { margin-top: 10px; }
}

/* Opportunities */
.dept-opp { scroll-margin-top: 110px; }
.dept-opp .dept-labs-panel { margin-top: 18px; }
.dept-opp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; align-items: start; }
.dept-opp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dept-opp-list li { padding: 9px 14px; border-radius: 8px; background: #efefef; font-size: 14px;
  font-weight: 600;
  color: #000;
} 
 
.dept-opp-higher p:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .dept-opp-grid { grid-template-columns: 1fr; } }

/* About: sub-headings, tagline, lists */
.dept-detail p.dept-tagline { font-size: 18px; font-weight: 700; color: #FF520F; margin-bottom: 14px; }
.dept-sub { font-size: 16px; font-weight: 700; color: #0b2a5b; margin: 22px 0 10px; }
.dept-list { list-style: none; margin: 0 0 16px; padding: 0; }
.dept-list li { position: relative;   margin-bottom: 8px; font-size: 14.5px; line-height: 1.65; color: #2b3a55; }
 
/* Report button */
.dept-btn { display: inline-flex; align-items: center; gap: 10px; background: #FF520F; color: #fff !important; font-weight: 700; font-size: 14px; padding: 12px 26px; border-radius: 8px; text-decoration: none; transition: .2s; }
.dept-btn:hover { background: #0b2a5b; transform: translateY(-1px); }

/* Lab facility table */
.dept-labs-table { scroll-margin-top: 110px; }
.dept-lab-table { min-width: 640px; }
.dept-lab-table td:nth-child(1), .dept-lab-table td:nth-child(3) { text-align: center; white-space: nowrap; }
.dept-lab-table td:nth-child(2) { font-weight: 600; color: #0b2a5b; white-space: nowrap; }
.dept-lab-table th:nth-child(1), .dept-lab-table th:nth-child(3) { text-align: center; }
.dept-lab-table .dept-bullets li::before { background: #FF520F; }

/* PEO / PO / PSO headings and labels */
.dept-heading-gap { margin-top: 30px; }
.dept-obj-list li strong { color: #0b2a5b; font-weight: 700; }

/* Lab table: wrapping lab names, two-column equipment lists on wide screens */
.dept-lab-table--wrap td:nth-child(2) { white-space: normal; min-width: 170px; }
.dept-lab-table--wrap td:nth-child(3) { text-align: left; }
.dept-lab-table--wrap .dept-bullets { columns: 2; column-gap: 28px; }
.dept-lab-table--wrap .dept-bullets li { break-inside: avoid; }
@media (max-width: 767px) { .dept-lab-table--wrap .dept-bullets { columns: 1; } }
