/* ==========================================================
   PCET – elements.css  (INNER PAGES – load after main.css)
   1. Body tags: anything written in the page (h1–h6, p, ul, ol, img) is styled automatically – no id, no class needed
   2. Page layout: #pageTitle (breadcrumb bar) · #pageBody (sidebar + content area)
   3. Sidebar (about-us-sidebar.php)
   4. Media queries (inner pages)
   Brand colours + fonts (:root) live in main.css
   ========================================================== */


/* ---------- 1. BODY TAGS (inner pages) ---------- 
   ---------- p tag, h tag, ol/ul tag -------------  */
body {
	/* font-family comes from --pcet-font in main.css (Montserrat) */
	font-size: 15px;
	line-height: 1.85;
	color: var(--pcet-text);
	background-color: #fff;
}

/* Headings: heading font + navy; h1 gets a short amber line */
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; }
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; }

/* Text, lists, images */
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 (about-trust.php and other sub-pages) ----------
   #pageTitle = breadcrumb bar · #pageBody = Bootstrap row: sidebar + content div (col-lg-8 col-xl-9)
   Font = Montserrat from body (section 1). */
#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; }




/* ---------- HIGHLIGHTS TICKER (#ticker) – slim navy bar under the flyer ----------
   Amber slanted "HIGHLIGHTS" tag on the left; headlines enter on the right, glide across once and leave on the left, then repeat (main-1.js sets the speed).
   Pauses while the mouse is over them (mouse only – not after a tap on phones) or a link has keyboard focus. Each headline is a link (white → amber on hover). */
#ticker { font-family: "Montserrat", sans-serif; background: var(--pcet-navy-deep); }
#ticker > div:first-child { background: var(--pcet-amber); color: var(--pcet-navy-deep); font-size: 13px; letter-spacing: .12em; padding-right: 34px !important; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
#ticker > div:last-child { -webkit-mask: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
#ticker > div:last-child > div { animation: tickerRun var(--ticker-time, 40s) linear infinite; }
@media (hover: hover) { #ticker > div:last-child:hover > div { animation-play-state: paused; } }      /* mouse over: pause */
#ticker > div:last-child:has(a:focus-visible) > div { animation-play-state: paused; }                 /* keyboard focus: pause */
#ticker li { font-size: 15px; font-weight: 500; }
#ticker li i { color: var(--pcet-amber); }
#ticker a { color: #fff; text-decoration: none; transition: color .2s; }
#ticker a:hover, #ticker a:focus-visible { color: var(--pcet-amber); }
@keyframes tickerRun { from { transform: translateX(var(--ticker-from, 100vw)); } to { transform: translateX(-100%); } }   /* enters from the right edge, leaves on the left */

/* Phones (<576px): smaller tag and text */
@media (max-width: 575.98px) {
  #ticker > div:first-child { font-size: 11px; letter-spacing: .08em; padding-right: 26px !important; }
  #ticker li { font-size: 14px; }
}

/* Visitors who prefer less motion: no gliding, headlines can be scrolled by hand */
@media (prefers-reduced-motion: reduce) {
  #ticker > div:last-child { overflow-x: auto !important; }
  #ticker > div:last-child > div { animation: none; }
}





/* ---------- Button CSS ------------*/
/* Button (inner pages): navy, white text, rounded like the sidebar pill, no hover effect */
.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;
}




/* ---------- NEWS AND EVENTS (#step-marquee) – white card with a navy header strip ----------
   3 rows visible; every 2.5 s the list moves up one row and stops (main-1.js), so each line can be read.
   main-1.js makes EVERY row as tall as the longest headline and the window exactly 3 rows tall – so the box never changes height
   (nothing on the page moves or shakes), no headline is cut, and short headlines sit in the middle of their row.
   Pauses while the mouse is over it or a link has keyboard focus. */
#step-marquee { background: #fff; border: 1px solid #e3e9f1; font-family: "Montserrat", sans-serif; line-height: 1.45; }
#step-marquee > div:first-child { background: var(--pcet-navy-deep); }                      /* navy header strip */
#step-marquee h2 { font-family: inherit; color: var(--pcet-amber); letter-spacing: .12em; }
#step-marquee h2::after { display: none; }
#step-marquee > div:nth-child(2) { height: 168px; }                                       /* window (main-1.js sets the exact, fixed height) */
#step-marquee ul { padding: 0; transition: transform .6s ease; }
#step-marquee li { min-height: 56px; align-items: center; border-bottom: 1px dashed #e3e9f1; box-sizing: border-box; }
#step-marquee li i { font-size: 16px; color: var(--pcet-amber); flex-shrink: 0; }
#step-marquee li a { color: var(--pcet-navy); font-size: 14px; font-weight: 500; text-decoration: none; }
#step-marquee > div:last-child { border-top: 1px solid #e3e9f1; }
#step-marquee > div:last-child a { color: var(--pcet-navy-deep); text-decoration: none; }

/* Visitors who prefer less motion: no moving, the box scrolls by hand */
@media (prefers-reduced-motion: reduce) {
  #step-marquee > div:nth-child(2) { overflow-y: auto !important; }
  #step-marquee ul { transition: none; }
}




/* ---------- TESTIMONIALS (#testimonials) – navy side-photo cards ----------
   Navy card with an amber edge on the left (like the sidebar): round photo with an amber ring on the left; name, batch, amber stars and the review on the right.
   The review shows 4 lines; longer text scrolls inside the card (thin amber scrollbar), so every card stays the same height.
   Social icons sit centred at the bottom of the card. Layout = Bootstrap grid: 2 cards per row on tablets & desktops (col-md-6), 1 on phones. */
#testimonials { padding: 35px 0; }
#testimonials article { background: var(--pcet-navy-deep); border-left: 5px solid var(--pcet-amber); border-radius: 14px; font-family: "Montserrat", sans-serif; }
#testimonials article > div:first-child { gap: 28px !important; }                          /* space between photo and 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); }   /* always a perfect circle, any photo shape */
#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; }

/* Review: 4 lines visible (14px × 1.7 × 4), the rest scrolls; thin amber scrollbar */
#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); }
#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; }

/* View More: navy button, no hover change */
#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; }

/* Phones (<576px): smaller photo, less space, less padding */
@media (max-width: 575.98px) {
  #testimonials article { padding: 18px !important; }
  #testimonials article > div:first-child { gap: 16px !important; }
  #testimonials img { width: 64px; height: 64px; }
}





/* ---------- TABLES (inner pages) – all navy + framed grid ----------
   Use: <div class="table-responsive"><table class="table mb-0"> … </table></div>
   Navy frame around the table; thin lines between every row AND every column, so each cell is easy to find.
   Header: navy, amber text, centred, bold. Data: left. First column (Sr. No.) = navy stripe with amber numbers.
   On small screens the table scrolls left ↔ right (thin amber scrollbar). */
.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-family: "Montserrat", sans-serif; font-size: 15px; line-height: 1.5; color: var(--pcet-text); }
.table-responsive > .table > :not(caption) > * > * { padding: 12px 16px; }

/* Grid: a line between every column (rows already have one) */
.table-responsive > .table > :not(caption) > * > * + * { border-left: 1px solid #d5deea; }

/* Header: navy, amber text, centred and bold, amber line underneath; faint white lines between header cells */
.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; }               /* darker navy above the number column */

/* Data: left side */
.table-responsive > .table > tbody td { text-align: left; }

/* Number column: navy stripe with amber numbers */
.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); }
.table-responsive > .table > tbody tr:last-child > * { border-bottom: 0; }




/* ---------- NAV TAB CSS ---------- */
/* ---------- TIME TABLE (#timetable) – navy filter bar + term columns ----------
   Navy bar with two dropdowns (Year, Academic year); only the chosen year + academic year is shown (main-1.js).
   Term I and Term II = white cards side by side with an amber heading and a navy frame; on phones one under the other.
   Each timetable = a row with an amber PDF / image icon and navy text. No hover colour change. */
#timetable { font-family: "Montserrat", sans-serif; line-height: 1.5; }
#timetable > .row:first-child { background: var(--pcet-navy-deep); }                      /* navy filter bar */
#timetable label { color: var(--pcet-amber); letter-spacing: .06em; }
#timetable .form-select { color: var(--pcet-navy-deep); border: 0; border-radius: 8px; font-size: 15px; }
#timetable .form-select:focus { box-shadow: 0 0 0 3px rgba(247, 164, 0, .6); }
#timetable > div:first-child { background: var(--pcet-navy-deep); }                       /* navy filter bar */

#timetable article { background: #fff; border: 2px solid var(--pcet-navy-deep); }
#timetable article h3 { font-family: inherit; background: var(--pcet-amber); color: var(--pcet-navy-deep); font-size: 15px; }
#timetable article a { color: var(--pcet-navy-deep); font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #e3e9f1; }
#timetable article a:last-child { border-bottom: 0; }
#timetable article a i { color: var(--pcet-amber); font-size: 16px; flex-shrink: 0; }
#timetable article a:focus-visible { outline: 2px solid var(--pcet-amber); outline-offset: -2px; }
#timetable [data-year][hidden] { display: none !important; }                              /* blocks for other years stay hidden */


/* --------- 2nd Design ---------- */
/* ---------- YEAR TIMETABLE (#yearTimetable) – same layout as the old timetable, PCET colours ----------
   White box with a navy line on top. Year tabs: selected = deep navy with amber text, others = light grey-blue with navy text.
   "Academic year" headings in black with a small amber bar on the left; "Term" headings in black; links bold navy with amber bullets.
   Uses its own names (#yearTimetable, yt0, yt1 …) so it never clashes with other timetable sections. */
#yearTimetable { padding: 12px 12px 8px; border: 1px solid #d5deea; border-top: 4px solid var(--pcet-navy-deep); border-radius: 8px; background: #fff; font-family: "Montserrat", sans-serif; line-height: 1.5; }

/* Year tabs */
#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; }

/* Academic year / Term headings – black */
#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; }
#yearTimetable h3::after { display: none; }
#yearTimetable h4 { font-family: inherit; font-size: 15px; font-weight: 700; color: #000; margin: 8px 0 8px 30px; }

/* Links: bold navy, amber bullets */
#yearTimetable ul { margin: 0 0 8px; padding-left: 70px; }
#yearTimetable li { font-size: 15px; margin-bottom: 2px; }
#yearTimetable li::marker { color: var(--pcet-amber); }
#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; }

/* Phones (<576px): smaller tabs, less indent so long titles fit */
@media (max-width: 575.98px) {
  #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; }
}


/* ---------- ACCORDION TAB ------------ */
/* ---------- ACCORDION (#pageAccordion) – navy bars with an amber + / − circle ----------
   Built on Bootstrap's accordion (no extra JS). Each section = solid navy bar with a white title and an amber circle (+ closed, − open).
   Open section: amber edge on the left of the bar; content = black text on white inside a navy frame. Only one section open at a time. */
#pageAccordion { --bs-accordion-border-width: 0; --bs-accordion-btn-focus-box-shadow: none; font-family: "Montserrat", sans-serif; }
#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-header::after { display: none; }                                   /* no heading underline here (the common base adds one to h2) */

/* Bar: navy with a white title (same when open or closed) */
#pageAccordion .accordion-button { gap: 16px; padding: 14px 18px; background: var(--pcet-navy-deep); color: #fff; font-family: inherit; 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 on the left */
#pageAccordion .accordion-button:focus-visible { outline: 3px solid var(--pcet-amber); outline-offset: -3px; }

/* Amber circle on the right: + when closed, − when open (replaces Bootstrap's arrow) */
#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: "+"; }

/* Open content: black text on white */
#pageAccordion .accordion-body { padding: 16px 20px; color: #000; font-size: 15px; line-height: 1.8; }
#pageAccordion .accordion-body > :last-child { margin-bottom: 0; }

/* Phones (<576px): slightly smaller bars */
@media (max-width: 575.98px) {
  #pageAccordion .accordion-button { font-size: 15px; padding: 12px 14px; gap: 12px; }
  #pageAccordion .accordion-body { padding: 14px 16px; }
}



/* IMAGE CARD + PARA */
/* ---------- FOUNDERS (#founders) – side cards ----------
   White card with a navy frame and an amber edge on the left (like the sidebar pill).
   Photo on the left – every photo exactly the same size (cropped to fit, any photo shape works); name (black, bold) and post (navy) on the right.
   Every card is the same height: the grid makes all rows as tall as the tallest card. 2 per row on tablets & desktops, 1 on phones. */
#founders { font-family: "Montserrat", sans-serif; line-height: 1.4; }
#founders > .d-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }       /* phones: 1 per row */
#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; }

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


/*------------ Placement Company LOGO -------------*/
/* ---------- PCET MAJOR RECRUITERS (#recruiters) – logo tiles + amber package tag ----------
   Clean white tiles: package on an amber tag in the top-right corner, the logo in the middle, the company name (black) below.
   Hover (mouse only): the logo zooms in and the tile gets a navy frame and a soft shadow – currently TURNED OFF (see below).
   Every logo sits in the same-size box, fitted without being cut (any logo shape works). Long names wrap; every tile stays the same height.
   Layout: 5 per row on laptops & desktops, 4 on tablets, 3 on phones. */
#recruiters { font-family: "Montserrat", sans-serif; line-height: 1.3; }
#recruiters > .d-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }   /* phones: 3 per row; every tile the same height */
#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; }   /* amber 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 (mouse only – not on touch screens): logo zooms, tile gets a navy frame
   TURNED OFF. To turn it ON: delete the line "HOVER OFF – start" and the line "HOVER OFF – end" below. */
/* 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 */

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

/* Phones (<576px): smaller tag, logos and text so 3 fit in a row */
@media (max-width: 575.98px) {
  #recruiters figure { padding-top: 28px; }
  #recruiters figure > span { font-size: 11px; padding: 3px 8px; }
  #recruiters img { height: 38px; }
  #recruiters figcaption { font-size: 12px; }
}

/* Visitors who prefer less motion: no zoom (only needed when the hover is ON)
   To turn it ON together with the hover: delete the line "REDUCED MOTION OFF – start" and the line "REDUCED MOTION OFF – end" below. */
/* REDUCED MOTION OFF – start
@media (prefers-reduced-motion: reduce) {
  #recruiters figure, #recruiters img { transition: none; }
  #recruiters figure:hover img { transform: none; }
}
REDUCED MOTION OFF – end */




/*---------- SOCIAL MEDIA ICONS ----------*/
/* ---------- SOCIAL DRAWER (#socialDrawer) – fixed on the right edge of every page ----------
   Only the thin amber "SOCIAL" tab shows. Hover (mouse), tap (phones) or keyboard focus slides the navy icon panel out from the edge.
   Stays in the same place while the page scrolls. Icons: white on navy; the icon under the mouse turns amber. */
#socialDrawer { --drawer-hide: calc(100% - 34px); position: fixed; top: 50%; right: 0; z-index: 1030; display: flex; align-items: stretch; transform: translate(var(--drawer-hide), -50%); transition: transform .4s ease; font-family: "Montserrat", sans-serif; filter: drop-shadow(-4px 6px 14px rgba(11, 47, 94, .3)); }   /* closed: only the 34px tab is on screen */
#socialDrawer[data-open], #socialDrawer:focus-within { --drawer-hide: 0px; }                  /* open (tap or keyboard): whole panel on screen */
@media (hover: hover) { #socialDrawer:hover { --drawer-hide: 0px; } }                         /* mouse: open on hover */

/* Amber tab with sideways text */
#socialDrawer > button { width: 34px; padding: 14px 0; border: 0; border-radius: 0 10px 10px 0; background: var(--pcet-amber); color: var(--pcet-navy-deep); font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); cursor: pointer; }   /* rotated, so the rounded corners end up on the left */
#socialDrawer > button:focus-visible { outline: 2px solid var(--pcet-navy-deep); outline-offset: -4px; }

/* Navy icon panel */
#socialDrawer nav { display: flex; flex-direction: column; gap: 6px; padding: 8px; background: var(--pcet-navy-deep); }
#socialDrawer nav a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; color: #fff; font-size: 19px; text-decoration: none; transition: background .2s, color .2s; }
#socialDrawer nav a:hover, #socialDrawer nav a:focus-visible { background: var(--pcet-amber); color: var(--pcet-navy-deep); outline: none; }

/* Visitors who prefer less motion: no sliding animation */
@media (prefers-reduced-motion: reduce) { #socialDrawer, #socialDrawer nav a { transition: none; } }





/* ---------- PHOTO SLIDER (#photoSlider) – simple Bootstrap carousel ----------
   Responsive (Bootstrap img-fluid): each photo keeps its own size and shape, is centred, and only shrinks when the screen is narrower than the photo.
   Round amber arrows on the sides, dots underneath (current dot = amber pill). Fades between photos every 5 s, pauses on hover, swipe on phones. */
#photoSlider img { border-radius: 14px; }                                                  /* img-fluid in the HTML = max-width: 100%; height: auto */

/* Arrows: round amber buttons with navy arrows, always fully visible */
#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; }

/* Dots: white, current one = wider amber pill */
#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; }

/* Phones (<576px): smaller arrows */
@media (max-width: 575.98px) {
  #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; }
}












/* ---------- 3. SIDEBAR (about-us-sidebar.php) ----------
   Navy panel, soft white links, current page = solid amber pill with navy text.
   Layout = Bootstrap nav-pills + utilities. Same font as p. */
#sidebar > div { background: var(--pcet-navy-deep); }
#sidebar h2 { font-family: inherit; color: var(--pcet-amber); letter-spacing: .12em; margin-top: 0; }
#sidebar h2::after { display: none; }                   /* no heading underline here */
#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; }

/* Sidebar dropdown (e.g. Founders): ⌄ button on the right of the item, sub-pages indented under a thin amber line.
   Current sub-page = amber pill (like the main items); its main item gets a thin amber outline. No hover effect. */
#sideMenu .btn { color: rgba(255, 255, 255, .8); }
#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); }


/* ==========================================================
   4. MEDIA QUERIES (inner pages)
   ========================================================== */

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

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

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

/* Visitors who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  #sideMenu .nav-link, #sideMenu .btn i { transition: none; }
}