/* PCET – elements.css: INNER PAGES (load after main.css) · body tags, page layout, sections, sidebar · fonts come from main.css */


/* ---------- 1. BODY TAGS – h1–h6, p, ul, ol, img are styled automatically (no id / class needed) · body is in main.css ---------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--pcet-heading-font); color: var(--pcet-navy-deep); }
h1 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 1.4rem; }
h1::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 12px; border-radius: 3px; background: #ffb81c; }   /* short amber line */
h2 { font-size: 1.45rem; font-weight: 700; margin: 2rem 0 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin: 1.75rem 0 .85rem; }
h4 { font-size: 1.1rem;  font-weight: 700; margin: 1.5rem 0 .75rem; }
h5 { font-size: 1rem;    font-weight: 700; margin: 1.25rem 0 .6rem; }
h6 { font-size: .9rem;   font-weight: 700; margin: 1.25rem 0 .6rem; text-transform: uppercase; letter-spacing: .06em; }

ul, ol { padding-left: 1.3rem; margin-bottom: 1.1rem; }
li::marker { color: var(--pcet-amber); }
img { max-width: 100%; height: auto; border-radius: 14px; }


/* ---------- 2. PAGE LAYOUT – #pageTitle = breadcrumb bar · #pageBody = sidebar + content ---------- */
#pageTitle { background: rgba(11, 31, 77, .045); padding: 22px 0; line-height: 1.5; }
#pageTitle .breadcrumb { --bs-breadcrumb-divider-color: #9aa7b8; --bs-breadcrumb-item-active-color: var(--pcet-navy-deep); margin: 0; font-size: 14px; font-weight: 500; color: var(--pcet-muted); }
#pageTitle .breadcrumb a { color: var(--pcet-muted); text-decoration: none; transition: color .2s; }
#pageTitle .breadcrumb a:hover { color: var(--pcet-amber); }
#pageBody { padding: 50px 0 30px; }


/* ---------- BUTTON (.btn-primary) – navy, white text, no hover change ---------- */
.btn-primary { --bs-btn-color: #fff; --bs-btn-bg: var(--pcet-navy-deep); --bs-btn-border-color: var(--pcet-navy-deep); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--pcet-navy-deep); --bs-btn-hover-border-color: var(--pcet-navy-deep); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--pcet-navy-deep); --bs-btn-active-border-color: var(--pcet-navy-deep); --bs-btn-border-radius: 10px; }


/* ---------- TESTIMONIALS (#testimonials) – navy cards, round photo left, review scrolls after 4 lines ---------- */
#testimonials { padding: 35px 0; }
#testimonials article { background: var(--pcet-navy-deep); border-left: 5px solid var(--pcet-amber); border-radius: 14px; }
#testimonials article > div:first-child { gap: 28px !important; }   /* photo ↔ text */
#testimonials img { width: 96px; height: 96px; max-width: none; aspect-ratio: 1; align-self: flex-start; object-fit: cover; border: 3px solid var(--pcet-amber); }   /* perfect circle */
#testimonials h3 { font-family: inherit; color: #fff; }
#testimonials small { color: rgba(255, 255, 255, .65); }
#testimonials .bi-star-fill { color: var(--pcet-amber); font-size: 13px; margin-right: 2px; }
#testimonials article a { color: rgba(255, 255, 255, .8); font-size: 18px; }
#testimonials article p { height: 95px; overflow-y: auto; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .85); text-align: left; scrollbar-width: thin; scrollbar-color: var(--pcet-amber) rgba(255, 255, 255, .12); }   /* 4 lines, rest scrolls */
#testimonials article p::-webkit-scrollbar { width: 5px; }
#testimonials article p::-webkit-scrollbar-track { background: rgba(255, 255, 255, .12); border-radius: 5px; }
#testimonials article p::-webkit-scrollbar-thumb { background: var(--pcet-amber); border-radius: 5px; }
#testimonials article p:focus-visible { outline: 2px solid var(--pcet-amber); outline-offset: 4px; border-radius: 4px; }
#testimonials > div:last-child .btn { --bs-btn-color: #fff; --bs-btn-bg: var(--pcet-navy-deep); --bs-btn-border-color: var(--pcet-navy-deep); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--pcet-navy-deep); --bs-btn-hover-border-color: var(--pcet-navy-deep); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--pcet-navy-deep); --bs-btn-active-border-color: var(--pcet-navy-deep); --bs-btn-border-radius: 10px; }   /* View More */


/* ---------- TABLES – <div class="table-responsive"><table class="table mb-0"> · navy framed grid, scrolls on small screens ---------- */
.table-responsive { border: 2px solid var(--pcet-navy-deep); border-radius: 12px; margin-bottom: 1.5rem; scrollbar-width: thin; scrollbar-color: var(--pcet-amber) #eef2f7; }
.table-responsive::-webkit-scrollbar { height: 6px; }
.table-responsive::-webkit-scrollbar-track { background: #eef2f7; }
.table-responsive::-webkit-scrollbar-thumb { background: var(--pcet-amber); border-radius: 6px; }
.table-responsive > .table { --bs-table-border-color: #d5deea; min-width: 560px; font-size: 15px; line-height: 1.5; color: var(--pcet-text); }
.table-responsive > .table > :not(caption) > * > * { padding: 12px 16px; }
.table-responsive > .table > :not(caption) > * > * + * { border-left: 1px solid #d5deea; }   /* column lines */
.table-responsive > .table > thead th { background: var(--pcet-navy-deep); color: var(--pcet-amber); font-weight: 700; text-align: left; border-bottom: 2px solid var(--pcet-amber); white-space: nowrap; }
.table-responsive > .table > thead th + th { border-left-color: rgba(255, 255, 255, .18); }
.table-responsive > .table > thead th:first-child { background: #071f40; }
.table-responsive > .table > tbody td { text-align: left; }
.table-responsive > .table > tbody td:first-child { width: 90px; background: var(--pcet-navy-deep); color: var(--pcet-amber); font-weight: 600; border-bottom-color: rgba(255, 255, 255, .12); }   /* Sr. No. column */
.table-responsive > .table > tbody tr:last-child > * { border-bottom: 0; }


/* ---------- YEAR TIMETABLE (#yearTimetable) – year tabs (Bootstrap), black headings, navy links ---------- */
#yearTimetable { padding: 12px 12px 8px; border: 1px solid #d5deea; border-top: 4px solid var(--pcet-navy-deep); border-radius: 8px; background: #fff; line-height: 1.5; }
#yearTimetable > .nav { --bs-nav-link-color: var(--pcet-navy-deep); --bs-nav-link-hover-color: var(--pcet-navy-deep); --bs-nav-pills-link-active-bg: var(--pcet-navy-deep); --bs-nav-pills-link-active-color: var(--pcet-amber); --bs-nav-pills-border-radius: 6px; margin-bottom: 12px; scrollbar-width: none; }
#yearTimetable > .nav::-webkit-scrollbar { display: none; }
#yearTimetable > .nav .nav-link { background: #d5deea; font-size: 17px; padding: 9px 14px; }
#yearTimetable > .nav .nav-link.active { background: var(--pcet-navy-deep); }
#yearTimetable > .nav .nav-link:focus-visible { outline: 2px solid var(--pcet-amber); outline-offset: 2px; box-shadow: none; }
#yearTimetable h3 { font-family: inherit; font-size: 15px; font-weight: 700; color: #000; margin: 14px 0 10px 6px; padding-left: 8px; border-left: 4px solid var(--pcet-amber); line-height: 1.4; }   /* academic year */
#yearTimetable h4 { font-family: inherit; font-size: 15px; font-weight: 700; color: #000; margin: 8px 0 8px 30px; }   /* term */
#yearTimetable ul { margin: 0 0 8px; padding-left: 70px; }
#yearTimetable li { font-size: 15px; margin-bottom: 2px; }
#yearTimetable a { color: var(--pcet-navy-deep); font-weight: 700; text-decoration: none; }
#yearTimetable a:focus-visible { outline: 2px solid var(--pcet-amber); outline-offset: 2px; }


/* ---------- ACCORDION (#pageAccordion) – navy bars, amber + / − circle (Bootstrap accordion) ---------- */
#pageAccordion { --bs-accordion-border-width: 0; --bs-accordion-btn-focus-box-shadow: none; }
#pageAccordion .accordion-item { margin-bottom: 10px; border: 2px solid var(--pcet-navy-deep); border-radius: 12px; overflow: hidden; background: #fff; }
#pageAccordion .accordion-header { margin: 0; }
#pageAccordion .accordion-button { gap: 16px; padding: 14px 18px; background: var(--pcet-navy-deep); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.4; box-shadow: none; }
#pageAccordion .accordion-button:not(.collapsed) { box-shadow: inset 6px 0 0 var(--pcet-amber); }   /* open: amber edge */
#pageAccordion .accordion-button:focus-visible { outline: 3px solid var(--pcet-amber); outline-offset: -3px; }
#pageAccordion .accordion-button::after { content: "−"; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; height: 30px; margin-left: auto; border-radius: 50%; background: var(--pcet-amber); background-image: none; color: var(--pcet-navy-deep); font-size: 20px; font-weight: 700; line-height: 1; transform: none; }
#pageAccordion .accordion-button.collapsed::after { content: "+"; }
#pageAccordion .accordion-body { padding: 16px 20px; color: #000; font-size: 15px; line-height: 1.8; }
#pageAccordion .accordion-body > :last-child { margin-bottom: 0; }


/* ---------- FOUNDERS (#founders) – side cards, same-size photos, equal heights (2 per row ≥768px) ---------- */
#founders { line-height: 1.4; }
#founders > .d-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
#founders figure { background: #fff; border: 2px solid var(--pcet-navy-deep); border-left: 6px solid var(--pcet-amber); }
#founders img { flex-shrink: 0; width: 90px; height: 110px; max-width: none; object-fit: cover; object-position: center 20%; border-radius: 10px; background: #e3e9f1; }
#founders figcaption strong { color: #000; font-size: 16px; font-weight: 700; }
#founders figcaption span { color: var(--pcet-navy-deep); font-size: 14px; font-weight: 600; }


/* ---------- RECRUITERS (#recruiters) – logo tiles + amber package tag (5 / 4 / 3 per row) ---------- */
#recruiters { line-height: 1.3; }
#recruiters > .d-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
#recruiters figure { padding-top: 34px; background: #fff; border: 1.5px solid #d5deea; transition: border-color .25s, box-shadow .25s; }
#recruiters figure > span { position: absolute; top: 0; right: 0; padding: 4px 10px; background: var(--pcet-amber); color: #000; font-size: 12.5px; font-weight: 800; border-radius: 0 0 0 12px; }   /* package tag */
#recruiters img { display: block; width: 100%; max-width: none; height: 56px; object-fit: contain; border-radius: 0; transition: transform .35s ease; }
#recruiters figcaption { color: #000; font-size: 14px; font-weight: 700; }
/* Hover zoom – OFF. To turn ON: delete the "HOVER OFF – start" and "HOVER OFF – end" lines */
/* HOVER OFF – start
@media (hover: hover) {
  #recruiters figure:hover { border-color: var(--pcet-navy-deep); box-shadow: 0 10px 22px rgba(11, 47, 94, .18); }
  #recruiters figure:hover img { transform: scale(1.15); }
}
HOVER OFF – end */


/* ---------- PHOTO SLIDER (#photoSlider) – Bootstrap carousel, amber arrows, amber pill dots ---------- */
#photoSlider img { border-radius: 14px; }
#photoSlider .carousel-control-prev, #photoSlider .carousel-control-next { width: auto; padding: 0 14px; opacity: 1; }
#photoSlider .carousel-control-prev i, #photoSlider .carousel-control-next i { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pcet-amber); color: var(--pcet-navy-deep); font-size: 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
#photoSlider .carousel-control-prev:focus-visible i, #photoSlider .carousel-control-next:focus-visible i { outline: 3px solid #fff; outline-offset: 2px; }
#photoSlider .carousel-indicators { margin-bottom: 12px; }
#photoSlider .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #fff; opacity: .7; transition: width .3s; }
#photoSlider .carousel-indicators .active { width: 26px; border-radius: 6px; background: var(--pcet-amber); opacity: 1; }


/* ---------- 3. SIDEBAR (about-us-sidebar.php) – navy panel, current page = amber pill ---------- */
#sidebar > div { background: var(--pcet-navy-deep); }
#sidebar h2 { font-family: inherit; color: var(--pcet-amber); letter-spacing: .12em; margin-top: 0; }
#sideMenu, #sideMenu .nav { --bs-nav-pills-link-active-bg: var(--pcet-amber); --bs-nav-pills-link-active-color: var(--pcet-navy-deep); --bs-nav-link-color: rgba(255, 255, 255, .8); --bs-nav-link-hover-color: rgba(255, 255, 255, .8); --bs-nav-pills-border-radius: 10px; --bs-nav-link-font-size: 15px; line-height: 1.5; }
#sideMenu .nav-link.active { font-weight: 700; }
#sideMenu .btn { color: rgba(255, 255, 255, .8); }   /* ⌄ dropdown button */
#sideMenu .btn i { display: inline-block; transition: transform .25s; }
#sideMenu .btn[aria-expanded="true"] i { transform: rotate(180deg); }
#sideMenu .btn:focus-visible { box-shadow: none; outline: 2px solid var(--pcet-amber); }
#sideMenu .collapse .nav { border-color: rgba(247, 164, 0, .5) !important; }
#sideMenu .nav-link.open { box-shadow: inset 0 0 0 1px rgba(247, 164, 0, .6); }   /* parent of the current sub-page */


/* ---------- 4. MEDIA QUERIES ---------- */

/* Tablets (≥768px) */
@media (min-width: 768px) {
  #founders > .d-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #recruiters > .d-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Laptops (≥992px) */
@media (min-width: 992px) {
  #recruiters > .d-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Desktop (≥1200px): sidebar stays in view */
@media (min-width: 1200px) {
  #sidebar > div { position: sticky; top: 120px; }
}

/* Tablets & phones (<992px) */
@media (max-width: 991.98px) {
  #pageBody { padding: 30px 0 20px; }
}

/* Phones & small tablets (<768px) */
@media (max-width: 767.98px) {
  p { text-align: left; }   /* no justified gaps */
}

/* Phones (<576px) */
@media (max-width: 575.98px) {
  #testimonials article { padding: 18px !important; }
  #testimonials article > div:first-child { gap: 16px !important; }
  #testimonials img { width: 64px; height: 64px; }
  #yearTimetable > .nav .nav-link { font-size: 14px; padding: 8px 12px; }
  #yearTimetable h4 { margin-left: 14px; }
  #yearTimetable ul { padding-left: 34px; }
  #yearTimetable li { font-size: 14px; }
  #pageAccordion .accordion-button { font-size: 15px; padding: 12px 14px; gap: 12px; }
  #pageAccordion .accordion-body { padding: 14px 16px; }
  #recruiters figure { padding-top: 28px; }
  #recruiters figure > span { font-size: 11px; padding: 3px 8px; }
  #recruiters img { height: 38px; }
  #recruiters figcaption { font-size: 12px; }
  #photoSlider .carousel-control-prev, #photoSlider .carousel-control-next { padding: 0 8px; }
  #photoSlider .carousel-control-prev i, #photoSlider .carousel-control-next i { width: 34px; height: 34px; font-size: 16px; }
  #photoSlider .carousel-indicators { margin-bottom: 6px; }
}

/* Less motion */
@media (prefers-reduced-motion: reduce) {
  #sideMenu .nav-link, #sideMenu .btn i { transition: none; }
  /* #recruiters figure, #recruiters img { transition: none; }   ← turn ON together with the recruiters hover */
}