/* ════════════════════════════════
   INNER PAGE STYLES
   Used across all sub-pages
════════════════════════════════ */

/* PAGE HERO */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 40px 0 50px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,43,70,.92) 0%, rgba(19,43,70,.55) 100%),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1900&q=80')
    center/cover no-repeat;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 {
  margin: 0 0 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 5.5vw, 70px);
  line-height: .95;
  letter-spacing: -.04em;
  color: #fff;
}
.page-hero p {
  margin: 0;
  font-size: 17px;
  color: rgba(255,255,255,.75);
  max-width: 600px;
  line-height: 1.85;
}

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .active { color: var(--yellow); font-weight: 600; }

/* EYEBROW LABEL */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

/* STAT STRIP */
.stat-strip { margin-top: -40px; position: relative; z-index: 5; }
.stat-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(19,43,70,0.13);
  overflow: hidden;
  border: 1px solid var(--line);
}
.sstat {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
  transition: background 0.25s;
}
.sstat:hover { background: #f5f9ff; }
.sstat:last-child { border-right: none; }
.sstat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.sstat span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.sstat .dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-bottom: 12px;
}

/* CONTENT SECTION STANDARD */
.content-section { padding: 80px 0; }
.content-section.alt { background: var(--surface-2); }
.content-section.paper { background: var(--paper); }


/* SECTION HEAD (inner pages) */
.inner-head { margin-bottom: 40px; }
.inner-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.5vw, 44px);
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -.03em;
}
.inner-head p {
  color: var(--muted);
  font-size: 15px;
  max-width: 680px;
  line-height: 1.85;
  margin: 0;
}

/* PROSE CONTENT */
.prose { max-width: 900px; }
.prose p { font-size: 15px; color: var(--muted); line-height: 2; margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  color: var(--navy);
  margin: 32px 0 12px;
}
.prose ul { color: var(--muted); line-height: 2; padding-left: 20px; }
.prose ul li { margin-bottom: 6px; font-size: 15px; }
.prose strong { color: var(--navy); }

/* HIGHLIGHT BOX */
.highlight-box {
  background: var(--navy);
  border-radius: 22px;
  padding: 36px 40px;
  color: #fff;
  margin: 32px 0;
}
.highlight-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  color: #fff;
  margin: 0 0 16px;
}
.highlight-box p { color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.9; margin: 0; }

/* INFO CARD GRID */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.info-card {
  border-radius: 20px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow 0.3s, transform 0.3s;
}
.info-card:hover {
  box-shadow: 0 16px 52px rgba(19,43,70,.11);
  transform: translateY(-4px);
}
.info-card .ic-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  /* opacity: .12; */
  line-height: 1;
  margin-bottom: 14px;
}
.info-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 12px;
}
.info-card p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0; }
.info-card ul { padding-left: 16px; margin: 0; }
.info-card ul li { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 4px; }

/* TABLE STYLE */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(19,43,70,.08);
}
.data-table th {
  background: var(--navy);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: #f8fbff; }
.data-table tr:hover td { background: #f0f7ff; }
.data-table a { color: var(--red); text-decoration: underline; }

/* PERSON CARD */
.person-card {
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(19,43,70,.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.person-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(19,43,70,.12); }
.person-photo {
  height: 220px;
  background: linear-gradient(135deg, #e8eef8, #d0dcf4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-body { padding: 22px 24px; }
.person-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 4px;
}
.person-body .role {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--red);
  margin-bottom: 10px;
}
.person-body .qual {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 10px;
}
.person-body .exp { font-size: 13px; color: var(--text); font-weight: 600; margin-bottom: 8px; }
.person-body a { font-size: 13px; color: var(--red); }

/* PERSON GRID */
.person-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* PDF LINK BUTTON */
.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: opacity .18s, transform .18s;
}

.pdf-btn:hover { opacity: .85; transform: translateY(-1px); }

/* TWO-COL LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.two-col-wide {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 56px;
  align-items: start;
}

/* STICKY CARD */
.sticky-card {
  background: var(--navy);
  border-radius: 24px;
  padding: 36px 30px;
  color: #fff;
  position: sticky;
  top: 110px;
}
.sticky-card small {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.sticky-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  color: #fff;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sticky-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.sticky-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.2s;
}
.sticky-list li:hover { background: rgba(255,255,255,.07); color: #fff; }
.sticky-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--yellow);
  flex-shrink: 0;
  font-weight: 800;
  margin-top: 1px;
}

/* ACCORDION FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}
.faq-q .faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background .2s, transform .3s;
  color: var(--navy);
}
.faq-item.open .faq-icon { background: var(--red); color: #fff; transform: rotate(45deg); }
.faq-a {
  display: none;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  padding: 0 0 20px;
}
.faq-item.open .faq-a { display: block; }



/* About-Alumni---> TESTIMONIALS GRID */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}



/* PRIDE ALUMNI GRID */
.pride-alumni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

@media (max-width: 1024px) {
  .pride-alumni-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pride-alumni-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Card image height reduction on small screens */
@media (max-width: 380px) {
  .pride-alumni-grid > div > div:first-child {
    height: 140px !important;
    font-size: 48px !important;
  }
  .pride-alumni-grid > div > div:last-child {
    padding: 16px !important;
  }
}



/* ── RESPONSIVE TABLE ── */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(19,43,70,.08);
}

/* Table inside scroll wrapper loses its own shadow/radius */
.table-scroll .data-table {
  box-shadow: none;
  border-radius: 0;
  min-width: 520px; /* KEY: forces scroll before columns collapse */
}

@media (max-width: 640px) {
  .data-table th,
  .data-table td {
    padding: 10px 12px !important;
    font-size: 12px !important;
  }
  .data-table .pdf-btn {
    padding: 5px 10px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 380px) {
  .data-table th,
  .data-table td {
    padding: 8px 10px !important;
    font-size: 11px !important;
  }
  .data-table .pdf-btn {
    padding: 4px 8px !important;
    font-size: 10px !important;
  }
}



/* NAAC CERTIFICATE GRID */
.naac-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .naac-cert-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Shrink the trophy emoji on small screens */
  .naac-cert-grid > div > div:first-child {
    font-size: 52px !important;
    margin-bottom: 12px !important;
  }

  /* Reduce card padding on mobile */
  .naac-cert-grid > div {
    padding: 24px !important;
  }

  /* Shrink heading inside card */
  .naac-cert-grid h3 {
    font-size: 20px !important;
  }

  /* Make PDF button full width on mobile */
  .naac-cert-grid .pdf-btn {
    width: 100%;
    justify-content: center;
    font-size: 12px !important;
  }

  /* Highlight box padding fix */
  .highlight-box {
    padding: 24px 20px !important;
  }

  .highlight-box h3 {
    font-size: 18px !important;
  }

  .highlight-box p {
    font-size: 13px !important;
  }
}

@media (max-width: 380px) {
  .naac-cert-grid > div {
    padding: 18px !important;
  }

  .naac-cert-grid h3 {
    font-size: 18px !important;
  }

  .naac-cert-grid .pdf-btn {
    font-size: 11px !important;
    padding: 8px 14px !important;
  }
}


/* Our CAMPUSES Page GRID section */
@media (max-width: 640px) {
  .reveal[style*="padding:32px"] {
    padding: 18px !important;
  }
  .reveal h3 {
    font-size: 18px !important;
  }
  .reveal p {
    font-size: 12px !important;
  }
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


.campus-card {
  padding: 32px;
  margin-bottom: 28px;
  overflow: hidden;
}

.campus-card:last-child {
  margin-bottom: 0;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .campus-card {
    padding: 18px;
    margin-bottom: 16px;
  }
  .campus-card h3 {
    font-size: 18px !important;
  }
  .campus-card p {
    font-size: 12px !important;
  }
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
}


/* CAMPUS FACILITIES GRIDS */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.facilities-extra {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

@media (max-width: 1024px) {
  .facilities-extra {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .facilities-extra {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Reduce card image height on mobile */
  .facilities-grid > div > div:first-child {
    height: 130px !important;
    font-size: 48px !important;
  }

  /* Reduce card padding on mobile */
  .facilities-grid > div > div:last-child {
    padding: 16px !important;
  }

  .facilities-grid h3 {
    font-size: 17px !important;
  }
}

@media (max-width: 380px) {
  .facilities-extra {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .facilities-extra > div {
    padding: 14px !important;
  }

  .facilities-extra > div > div:first-child {
    font-size: 26px !important;
    margin-bottom: 8px !important;
  }

  .facilities-grid > div > div:last-child {
    padding: 14px !important;
  }

  .facilities-grid h3 {
    font-size: 15px !important;
  }
}



/* RECRUITERS GRID */
.recruiters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.recruiters-grid > div {
  padding: 20px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .04em;
  transition: background .2s, color .2s;
  cursor: default;
}

.recruiters-grid > div:hover {
  background: var(--navy);
  color: #fff;
}

@media (max-width: 1024px) {
  .recruiters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .recruiters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .recruiters-grid > div {
    padding: 14px 10px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .recruiters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .recruiters-grid > div {
    padding: 12px 8px;
    font-size: 11px;
    border-radius: 10px;
  }
}

/* ── MOBILE TABLE FIX FOR 320px ── */
@media (max-width: 320px) {
  .table-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .table-scroll .data-table {
    min-width: 750px !important; /* Force wider table for scroll */
  }
  
  .data-table th,
  .data-table td {
    padding: 6px 8px !important;
    font-size: 10px !important;
    white-space: nowrap !important;
  }
  
  .data-table th {
    font-size: 10px !important;
  }
  
  .data-table a {
    font-size: 10px !important;
    padding: 4px 8px !important;
  }
}



/* TRANSPORT GRID For the Contact Form Section below Code */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.transport-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  text-align: center;
}

.transport-card strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 4px;
}

.transport-card span {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .transport-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .transport-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 320px) {
  .transport-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .transport-card {
    padding: 16px;
    border-radius: 12px;
  }

  .transport-card strong {
    font-size: 13px;
  }

  .transport-card span {
    font-size: 12px;
  }
}

/* RESPONSIVE INNER PAGES */
@media(max-width: 1024px) {
  .two-col, .two-col-wide { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .person-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip-inner { grid-template-columns: 1fr 1fr; }
  .sstat { border-bottom: 1px solid var(--line); }
}
@media(max-width: 640px) {
  .info-grid { grid-template-columns: 1fr; }
  .person-grid { grid-template-columns: 1fr; }
  .stat-strip-inner { grid-template-columns: 1fr 1fr; }
  .content-section { padding: 50px 0; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 12px; }
}

/* MOM / TABBER Functionality BUTTONS */
.gal-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.gal-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.gal-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* Hidden row state */
.mom-row.hidden {
  display: none;
}

/* Fix: ensure pdf-btn text is always white and visible */
.data-table .pdf-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff !important;       /* force white text */
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  transition: opacity .18s;
}

.data-table .pdf-btn:hover {
  opacity: .85;
}

/* TAB BUTTONS Iqua Composition Page */
.gal-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.gal-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.gal-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* HIDDEN ROW STATE */
.mom-row.hidden,
.iqac-row.hidden {
  display: none;
}

/* PDF BUTTON INSIDE TABLE */
.data-table .pdf-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  transition: opacity .18s;
}
.data-table .pdf-btn:hover {
  opacity: .85;
}

/* Mandatory Disclosure Table Filter */
.mandatory-row.hidden {
  display: none;
}

/*AQAR Table Filter */
.aqar-row.hidden {
  display: none;
}

/* LOA & EOA Table Filter */
.loaeoa-row.hidden {
  display: none;
}

/* Student Satisfaction Survey Table Filter */
.sss-row.hidden {
  display: none;
}

/* Best Practices Table Filter */
.bp-row.hidden {
  display: none;
}




/* PLACEMENTS ACTIVITIES GRID */
.placements-activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .placements-activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .placements-activities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .placements-activities-grid > div > div:first-child {
    height: 110px !important;
    font-size: 38px !important;
  }

  .placements-activities-grid > div > div:last-child {
    padding: 14px !important;
  }

  .placements-activities-grid h3 {
    font-size: 15px !important;
  }

  .placements-activities-grid p {
    font-size: 12px !important;
  }
}

@media (max-width: 380px) {
  .placements-activities-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .placements-activities-grid > div > div:first-child {
    height: 90px !important;
    font-size: 32px !important;
  }

  .placements-activities-grid > div > div:last-child {
    padding: 12px !important;
  }

  .placements-activities-grid h3 {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }

  .placements-activities-grid p {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }
}


/* Previous Question Papers page Grid section code */
.papers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 768px) {
  .papers-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Director Photo Styling About--> Director Message*/
.director-photo {
  width: 180px;
  height: 180px;
  object-fit:var(--surface-2);
  border-radius: 50%;
  display: block;
  margin: 0 0 12px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.sticky-card small {
  display: block;
  margin-bottom: 4px;
}

.sticky-card h3 {
  margin: 0 0 12px;
}

.sticky-list {
  margin: 0;
  padding: 0;
}

.sticky-list li {
  margin-bottom: 6px;
  /* reduce this further (e.g. 4px) if you want it even tighter */
}

.sticky-list li:last-child {
  margin-bottom: 0;
}

/* Placement--> AboutT&P Core Objectives Table — mobile fix */
@media (max-width: 640px) {
  .obj-row {
    grid-template-columns: 1fr !important;
  }
  .obj-row > div:first-child {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
  }
}


/*this belo code is for Library page tab system and other related components */

/* ── LIBRARY PAGE: TAB SYSTEM ── */
    .lib-tabnav {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin: 6px 0 36px;
      padding-bottom: 28px;
      border-bottom: 1px solid var(--line);
    }
    .lib-tabnav .gal-btn { font-size: 13px; }

    .lib-panel { display: none; }
    .lib-panel.active { display: block; animation: libFade .35s ease; }
    @keyframes libFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

    .lib-panel h3:first-child { margin-top: 0; }

    /* Vision / Mission cards */
    .vm-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
      margin: 28px 0 8px;
    }
    .vm-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 28px 26px;
    }
    .vm-card h3 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 19px;
      color: var(--navy);
      margin: 0 0 14px;
    }
    .vm-card ul { color: var(--muted); line-height: 1.8; padding-left: 18px; margin: 0; }
    .vm-card ul li { font-size: 14px; margin-bottom: 10px; }
    .vm-card ul li:last-child { margin-bottom: 0; }

    /* Resource highlight mini-cards */
    .res-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin: 22px 0;
    }
    .res-mini {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 20px;
    }
    .res-mini strong {
      display: block;
      font-size: 14px;
      color: var(--navy);
      margin-bottom: 6px;
    }
    .res-mini span { font-size: 13px; color: var(--muted); line-height: 1.6; }

    .lib-tagline {
      text-align: center;
      font-family: 'Space Grotesk', sans-serif;
      font-style: italic;
      color: var(--navy);
      font-size: 16px;
      margin: 8px 0 0;
    }

    .lib-note { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 10px; }

    .lib-ol { color: var(--muted); line-height: 1.9; padding-left: 20px; margin: 0; }
    .lib-ol li { font-size: 14px; margin-bottom: 10px; }
   
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  padding: 0;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f1f1;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-left: 14px;
}

.faq-item.open .faq-icon {
  background: var(--navy);
  color: #fff;
}

.faq-a {
  display: none;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-a ul { padding-left: 18px; margin: 0; }
.faq-a ul li { margin-bottom: 8px; }
.faq-a ul li:last-child { margin-bottom: 0; }
.faq-a p { margin: 0 0 14px; }
.faq-a p:last-child { margin-bottom: 0; }

    @media (max-width: 1024px) {
      .vm-grid { grid-template-columns: 1fr; }
      .res-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      .res-grid { grid-template-columns: 1fr; }
      .lib-tabnav { gap: 8px; margin-bottom: 24px; }
      .lib-tabnav .gal-btn { padding: 7px 14px; font-size: 12px; }
    }



.cap-sub-wrap {
  position: relative;
}

.cap-sub-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 4px;           /* small gap so it doesn't sit flush against parent */
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;        /* matches rounded style used elsewhere on the site */
  min-width: 180px;
  padding: 6px 0;
  box-shadow: 0 10px 25px rgba(19,43,70,0.12);
  z-index: 20;
  flex-direction: column;
  overflow: visible;
}

.cap-sub-menu a {
  display: block;
  padding: 10px 18px;
  white-space: nowrap;
  text-decoration: none;
  font-size: 14px;
  color: var(--navy, #12213A);
  transition: background 0.18s ease, color 0.18s ease;
}

.cap-sub-menu a:hover {
  background: var(--surface-2, #f6f5f1);
  color: var(--red, #C0392B);
}

.cap-sub-wrap:hover .cap-sub-menu {
  display: flex;
}

.simple-dropdown {
  overflow: visible !important;
}
