/*
 * ============================================================
 *  Siliguri College of Commerce — Internal Pages Stylesheet
 *  Companion to: style.css
 *  Covers: grid system, breadcrumb, sidebar, content area,
 *          faculty/staff cards, alumni cards, cell member cards,
 *          syllabus / document download tables,
 *          year-based best-practices / navigation cards
 * ============================================================
 */

/* ---- 0. CSS Variables ---- */
:root {
  --primary-green  : #25d366;
  --dark-green     : #1da851;
  --light-green    : #5de894;
  --accent-green   : #20c25c;
  --darker-green   : #128C55;
  --gold           : #FFD700;
  --dark-gold      : #DAA520;
  --light-gold     : #FFF8DC;

  --sidebar-bg     : #f0fff5;
  --sidebar-border : rgba(29, 168, 81, 0.18);
  --sidebar-active : var(--dark-green);
  --sidebar-hover  : rgba(37, 211, 102, 0.10);
  --content-bg     : #ffffff;
  --content-border : rgba(29, 168, 81, 0.12);
  --text-main      : #2c2c2c;
  --text-muted     : #616161;
  --radius-card    : 12px;
  --shadow-card    : 0 4px 24px rgba(29, 168, 81, 0.09), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-hover   : 0 8px 32px rgba(29, 168, 81, 0.16), 0 2px 8px rgba(0,0,0,0.08);
  --transition     : 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================================
   1. LIGHTWEIGHT GRID SYSTEM
   ============================================================ */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

[class*="col-"] {
  padding: 0 12px;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 769px) {
  .col-md-3  { width: 25%; }
  .col-md-4  { width: 33.333%; }
  .col-md-8  { width: 66.666%; }
  .col-md-9  { width: 75%; }
  .col-md-12 { width: 100%; }
}

@media (min-width: 993px) {
  .col-lg-3 { width: 25%; }
  .col-lg-9 { width: 75%; }
}


/* ============================================================
   2. PAGE BANNER & BREADCRUMB
   ============================================================ */
.page-banner {
  background:
    linear-gradient(135deg,
      rgba(18,140,85,0.95) 0%,
      rgba(29,168,81,0.90) 50%,
      rgba(37,211,102,0.85) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23FFD700' fill-opacity='0.07'%3E%3Ccircle cx='30' cy='30' r='18'/%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/svg%3E");
  padding: 30px 0 22px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 5% 50%,  rgba(255,215,0,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 95% 50%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.page-banner h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.page-banner h2 span { color: var(--gold); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.80);
}

.breadcrumb li a {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb li a:hover { color: var(--gold); }

.breadcrumb li.active {
  color: var(--gold);
  font-weight: 600;
}

.breadcrumb li:not(:last-child)::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  margin-left: 6px;
}

.breadcrumb li:first-child a i {
  font-size: 13px;
  margin-right: 3px;
}


/* ============================================================
   3. PAGE BODY WRAPPER
   ============================================================ */
.about-section {
  padding: 32px 0 48px;
  background-color: #f4fdf6;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%2325d366' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(170deg, #f4fdf6 0%, #edfff4 60%, #f8fff8 100%);
  min-height: 60vh;
}

.about-section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ============================================================
   4. LEFT SIDEBAR
   ============================================================ */
.left-menu-area {
  background: var(--sidebar-bg);
  border: 1.5px solid var(--sidebar-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 72px;
  transition: box-shadow var(--transition);
}

.left-menu-area:hover { box-shadow: var(--shadow-hover); }

.left-menu-area h2 {
  background: linear-gradient(135deg, var(--darker-green) 0%, var(--dark-green) 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 14px 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 3px solid var(--gold);
}

.left-menu-area h2::before {
  content: '\f0c9';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 13px;
  color: var(--gold);
  opacity: 0.9;
}

.left-menu-area ul {
  list-style: none;
  margin: 0;
  padding: 8px 0 12px;
}

.left-menu-area ul li {
  border-bottom: 1px solid rgba(29,168,81,0.08);
}

.left-menu-area ul li:last-child { border-bottom: none; }

.left-menu-area ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all var(--transition);
}

.left-menu-area ul li a::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 9px;
  color: var(--primary-green);
  opacity: 0.6;
  transition: all var(--transition);
  flex-shrink: 0;
}

.left-menu-area ul li a:hover {
  background: var(--sidebar-hover);
  color: var(--dark-green);
  padding-left: 26px;
}

.left-menu-area ul li a:hover::before {
  opacity: 1;
  transform: translateX(3px);
}

.left-menu-area ul li.active-menu a,
.left-menu-area ul li.active-menu a:hover {
  background: linear-gradient(90deg, rgba(29,168,81,0.14) 0%, rgba(37,211,102,0.06) 100%);
  color: var(--darker-green);
  font-weight: 700;
  padding-left: 26px;
  border-left: 4px solid var(--dark-green);
}

.left-menu-area ul li.active-menu a::before {
  content: '\f078';
  color: var(--dark-green);
  opacity: 1;
}


/* ============================================================
   5. RIGHT CONTENT AREA
   ============================================================ */
.right-content-area {
  background: var(--content-bg);
  border: 1.5px solid var(--content-border);
  border-radius: var(--radius-card);
  padding: 32px 36px 40px;
  box-shadow: var(--shadow-card);
  min-height: 400px;
  color: var(--text-main);
  transition: box-shadow var(--transition);
}

.right-content-area:hover { box-shadow: var(--shadow-hover); }

/* Page heading */
.right-content-area > h2,
.right-content-area > h1 {
  font-family: "Times New Roman", Times, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--darker-green);
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--primary-green), var(--gold), transparent) 1;
  position: relative;
}

.right-content-area > h2::after,
.right-content-area > h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--dark-green), var(--gold));
  border-radius: 2px;
}

/* Section sub-heading */
.right-content-area h3 {
  font-size: 18px;
  color: var(--darker-green);
  margin: 30px 0 16px;
  padding: 10px 18px;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(29,168,81,0.10) 0%, rgba(37,211,102,0.04) 100%);
  border-left: 4px solid var(--dark-green);
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.right-content-area h3::before {
  content: '\f02d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 14px;
  color: var(--dark-gold);
  flex-shrink: 0;
}

.right-content-area h4 {
  font-size: 17px;
  color: var(--darker-green);
  margin: 20px 0 10px;
  font-weight: 600;
}

.right-content-area p {
  font-size: 15.5px;
  line-height: 1.80;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: justify;
}

.right-content-area p:last-child { margin-bottom: 0; }

.right-content-area a {
  color: var(--dark-green);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1.5px solid rgba(29,168,81,0.25);
  transition: border-color var(--transition), color var(--transition);
}

.right-content-area a:hover {
  color: var(--darker-green);
  border-color: var(--gold);
}

.right-content-area ul,
.right-content-area ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.right-content-area ul li,
.right-content-area ol li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 6px;
  padding-left: 4px;
}

.right-content-area ul li::marker { color: var(--primary-green); }
.right-content-area ol li::marker { color: var(--dark-green); font-weight: 700; }

.right-content-area blockquote {
  border-left: 4px solid var(--gold);
  background: var(--light-gold);
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-style: italic;
  color: #4a3b00;
}

/* Clear floats */
.right-content-area::after {
  content: '';
  display: table;
  clear: both;
}


/* ============================================================
   5b. FULL-WIDTH CONTENT CONTAINER  (.full-container)
       Used on pages without a sidebar (e.g. Best Practices)
       Mirrors .right-content-area design language
   ============================================================ */
.full-container {
  background: var(--content-bg);
  border: 1.5px solid var(--content-border);
  border-radius: var(--radius-card);
  padding: 36px 44px 48px;
  box-shadow: var(--shadow-card);
  color: var(--text-main);
  transition: box-shadow var(--transition);
}

.full-container:hover { box-shadow: var(--shadow-hover); }

/* ── Main practice heading (h3 = "Best Practice – I / II") ── */
.full-container h3 {
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 36px 0 20px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--darker-green) 0%, var(--dark-green) 60%, var(--accent-green) 100%);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(18,140,85,0.22), 0 1px 4px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 5px solid var(--gold);
  letter-spacing: 0.3px;
  line-height: 1.3;
  position: relative;
  overflow: hidden;
}

.full-container h3::before {
  content: '\f02d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.full-container h3::after {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,215,0,0.08);
  pointer-events: none;
}

.full-container h3:first-child { margin-top: 0; }

/* ── Section label paragraph ("Title of the practice") ── */
.full-container h3 + p {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-top: -12px;
  margin-bottom: 4px;
}

/* ── Practice title paragraph (immediately after label) ── */
.full-container h3 + p + p {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--darker-green);
  font-style: italic;
  margin-bottom: 22px;
  padding: 10px 18px;
  background: linear-gradient(90deg, rgba(29,168,81,0.07) 0%, transparent 100%);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}

/* ── Sub-section heading (h4 = "Context", "Practice") ── */
.full-container h4 {
  font-size: 17px;
  color: var(--darker-green);
  margin: 28px 0 12px;
  padding: 9px 18px;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(29,168,81,0.10) 0%, rgba(37,211,102,0.03) 100%);
  border-left: 4px solid var(--dark-green);
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.full-container h4::before {
  content: '\f0da';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  color: var(--dark-gold);
  flex-shrink: 0;
}

/* ── Minor heading (h5 = "Objective", "Obstacles", "Impact") ── */
.full-container h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--darker-green);
  margin: 22px 0 10px;
  padding: 0 0 6px;
  border-bottom: 1.5px dashed rgba(29,168,81,0.28);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}

.full-container h5::before {
  content: '\f111';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 7px;
  color: var(--primary-green);
  flex-shrink: 0;
}

/* ── Body paragraphs ── */
.full-container p {
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: justify;
}

.full-container p:last-child { margin-bottom: 0; }

/* ── Lists ── */
.full-container ul,
.full-container ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.full-container ul li,
.full-container ol li {
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-muted);
  margin-bottom: 7px;
  padding-left: 4px;
}

.full-container ul li::marker { color: var(--primary-green); }
.full-container ol li::marker { color: var(--dark-green); font-weight: 700; }

/* ── Links ── */
.full-container a {
  color: var(--dark-green);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1.5px solid rgba(29,168,81,0.25);
  transition: border-color var(--transition), color var(--transition);
}

.full-container a:hover {
  color: var(--darker-green);
  border-color: var(--gold);
}

/* ── Clearfix ── */
.full-container::after {
  content: '';
  display: table;
  clear: both;
}

/* Responsive – tablet */
@media (max-width: 992px) {
  .full-container { padding: 28px 28px 36px; }
  .full-container h3 { font-size: 19px; padding: 12px 18px; margin: 28px 0 16px; }
  .full-container h4 { font-size: 16px; }
  .full-container h5 { font-size: 14.5px; }
  .full-container p  { font-size: 15px; }
}

/* Responsive – mobile */
@media (max-width: 768px) {
  .full-container { padding: 20px 18px 28px; }
  .full-container h3 { font-size: 17px; padding: 11px 14px; gap: 9px; }
  .full-container h4 { font-size: 15px; padding: 8px 14px; }
  .full-container h5 { font-size: 14px; }
  .full-container p  { font-size: 14.5px; line-height: 1.75; }
}

/* Responsive – small mobile */
@media (max-width: 480px) {
  .full-container { padding: 16px 14px 22px; }
  .full-container h3 { font-size: 15px; padding: 10px 12px; }
  .full-container h3 + p { font-size: 12px; }
  .full-container h4 { font-size: 14px; }
  .full-container h5 { font-size: 13.5px; }
  .full-container p  { font-size: 14px; }
  .full-container ul li,
  .full-container ol li { font-size: 14px; }
}


/* ============================================================
   6. FACULTY / STAFF MEMBER CARD  (.faculty)
   ============================================================ */
.faculty {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f8fff8 0%, #fffef5 100%);
  border: 1.5px solid rgba(29,168,81,0.15);
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(29,168,81,0.08), 0 1px 3px rgba(0,0,0,0.05);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.faculty::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-green) 0%, var(--gold) 100%);
  border-radius: 4px 0 0 4px;
}

.faculty:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(29,168,81,0.30);
  transform: translateY(-2px);
}

.faculty img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 2.5px solid var(--gold);
  box-shadow: 0 4px 14px rgba(29,168,81,0.20);
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.faculty:hover img {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(29,168,81,0.28);
}

.faculty p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: left !important;
  flex: 1;
}

.faculty p strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--darker-green);
  margin-bottom: 4px;
}

/* "View Profile" link inside .faculty */
.faculty p a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 20px;
  border-bottom: none !important;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(37,211,102,0.30);
}

.faculty p a::before {
  content: '\f007';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
}

.faculty p a:hover {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--darker-green) 100%);
  box-shadow: 0 4px 14px rgba(37,211,102,0.40);
  transform: translateY(-1px);
}

/* Two-column grid for multiple .faculty cards */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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


/* ============================================================
   7. ALUMNI TESTIMONIAL CARD  (.faculty-boox / .faculty-fbx)
   ============================================================ */
.faculty-boox {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  margin-bottom: 20px;
  background: #ffffff;
  border: 1.5px solid rgba(29,168,81,0.14);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(29,168,81,0.08), 0 1px 4px rgba(0,0,0,0.05);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.faculty-boox::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--gold), var(--primary-green));
}

.faculty-boox:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(29,168,81,0.28);
  transform: translateY(-3px);
}

.faculty-boox > img {
  width: 110px;
  height: 130px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 16px rgba(29,168,81,0.22);
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.faculty-boox:hover > img {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(29,168,81,0.30);
}

.faculty-fbx { flex: 1; min-width: 0; }

.faculty-fbx h4 {
  font-size: 19px !important;
  font-weight: 700;
  color: var(--darker-green);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px dashed rgba(29,168,81,0.22);
  line-height: 1.3;
}

.faculty-fbx table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
}

.faculty-fbx table th,
.faculty-fbx table td {
  padding: 8px 12px;
  vertical-align: top;
  border: none;
  background: transparent !important;
}

.faculty-fbx table th {
  white-space: nowrap;
  width: 80px;
  padding-left: 0;
}

.faculty-fbx table th p {
  color: var(--darker-green) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  text-align: left !important;
}

.faculty-fbx table td p {
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
  text-align: left !important;
}

/* Year value — pill badge */
.faculty-fbx table tr:first-child td p {
  display: inline-block;
  padding: 3px 14px;
  background: linear-gradient(135deg, rgba(37,211,102,0.12), rgba(255,215,0,0.12));
  border: 1px solid rgba(29,168,81,0.25);
  border-radius: 20px;
  font-weight: 700 !important;
  color: var(--darker-green) !important;
  font-size: 13.5px !important;
}

/* Review — italic with gold left border */
.faculty-fbx table tr:last-child td p {
  font-style: italic;
  color: #555 !important;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
}


/* ============================================================
   8. PROFILE IMAGE BLOCK  (.full-img-area)
   ============================================================ */
.full-img-area {
  float: right;
  margin: 0 0 24px 32px;
  width: 220px;
  flex-shrink: 0;
}

.full-img-area img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 3px solid var(--gold);
  box-shadow: 0 6px 24px rgba(29,168,81,0.22), 0 2px 8px rgba(0,0,0,0.10);
  object-fit: cover;
  object-position: center top;
  transition: box-shadow var(--transition), transform var(--transition);
}

.full-img-area img:hover {
  box-shadow: 0 12px 36px rgba(29,168,81,0.28), 0 4px 12px rgba(0,0,0,0.14);
  transform: translateY(-3px) scale(1.01);
}

.full-img-area figcaption,
.full-img-area .img-caption {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}


/* ============================================================
   9. SIGNATURE / CLOSING BLOCK
   ============================================================ */
.right-content-area .signature-block {
  margin-top: 30px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #f0fff5 0%, #fffef0 100%);
  border-left: 4px solid var(--dark-green);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 10px rgba(29,168,81,0.09);
}

.right-content-area .signature-block p {
  margin: 0;
  color: #2c3e22;
  font-size: 14.5px;
  line-height: 1.7;
  text-align: left;
}

.right-content-area .signature-block strong {
  color: var(--darker-green);
  font-size: 15px;
}


/* ============================================================
  10. CTA BUTTONS
   ============================================================ */
.btn-internal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 26px;
  box-shadow: 0 4px 14px rgba(37,211,102,0.30);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-internal:hover {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--darker-green) 100%);
  box-shadow: 0 6px 20px rgba(37,211,102,0.40), 0 0 0 3px rgba(255,215,0,0.25);
  transform: translateY(-2px);
  color: #ffffff;
  border-bottom: none;
}

.btn-internal i { font-size: 13px; }

.btn-internal-outline {
  background: transparent;
  border: 2px solid var(--primary-green);
  color: var(--dark-green);
  box-shadow: none;
}

.btn-internal-outline:hover {
  background: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
}


/* ============================================================
  11. INFO HIGHLIGHT BOX
   ============================================================ */
.info-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: 10px;
  margin: 0 0 24px;
  background: rgba(37,211,102,0.07);
  border: 1px solid rgba(37,211,102,0.20);
}

.info-box .info-icon {
  font-size: 22px;
  color: var(--dark-green);
  flex-shrink: 0;
  margin-top: 1px;
}

.info-box p {
  margin: 0;
  font-size: 14.5px;
  color: #2a4a30;
  line-height: 1.7;
  text-align: left;
}

.info-box.warning {
  background: rgba(255,215,0,0.10);
  border-color: rgba(218,165,32,0.30);
}

.info-box.warning .info-icon { color: var(--dark-gold); }
.info-box.warning p { color: #4a3b00; }


/* ============================================================
  12. DOWNLOAD BUTTON  — global utility
      Works inside: .doc-list li, table td, anywhere
   ============================================================ */
a.doc-download,
.doc-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: #fff !important;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: none !important;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(37,211,102,0.28);
  cursor: pointer;
}

a.doc-download:hover,
.doc-download:hover {
  background: linear-gradient(135deg, var(--dark-green), var(--darker-green));
  box-shadow: 0 5px 16px rgba(37,211,102,0.40);
  transform: translateY(-1px) scale(1.03);
  color: #fff !important;
  border-bottom: none !important;
}

a.doc-download i,
.doc-download i { font-size: 11px; }


/* ============================================================
  13. DOCUMENT LIST ROW  (.doc-list)
   ============================================================ */
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(29,168,81,0.12);
  margin-bottom: 10px;
  transition: all var(--transition);
  background: #fff;
}

.doc-list li:hover {
  border-color: var(--gold);
  background: #fffef5;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  transform: translateX(4px);
}

.doc-list li > i {
  font-size: 20px;
  color: #c0392b;
  flex-shrink: 0;
}

.doc-list li i.fa-file-word  { color: #2b579a; }
.doc-list li i.fa-file-excel { color: #1d6f42; }
.doc-list li i.fa-file-image { color: var(--dark-green); }
.doc-list li i.fa-link       { color: var(--primary-green); }

.doc-list li .doc-info { flex: 1; }

.doc-list li .doc-info .doc-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 2px;
}

.doc-list li .doc-info .doc-meta {
  font-size: 12px;
  color: #999;
}


/* ============================================================
  14. CONTENT TABLE  (.right-content-area table)
      Plain prose tables (not .table-content)
   ============================================================ */
.right-content-area table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.right-content-area table th {
  background: linear-gradient(135deg, var(--darker-green) 0%, var(--dark-green) 100%);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.4px;
}

.right-content-area table th:first-child { border-radius: 6px 0 0 0; }
.right-content-area table th:last-child  { border-radius: 0 6px 0 0; }

.right-content-area table td {
  padding: 11px 16px;
  border-bottom: 1px solid #edf5ed;
  color: var(--text-muted);
}

.right-content-area table tr:nth-child(even) td { background: #f5fff7; }
.right-content-area table tr:hover td {
  background: rgba(37,211,102,0.05);
  transition: background 0.2s;
}


/* ============================================================
  15. STYLED TABLE WRAPPER  (.table-content)
      Used for: Syllabus, Governing Body, Question Papers, etc.
   ============================================================ */
.table-content {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(29,168,81,0.10), 0 1px 4px rgba(0,0,0,0.05);
  margin: 0 0 28px;
}

.table-content table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
}

.table-content table thead tr {
  background: linear-gradient(135deg, var(--darker-green) 0%, var(--dark-green) 100%);
}

.table-content table th {
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 14px 20px;
  text-align: center !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: none;
}

.table-content table td {
  padding: 13px 20px;
  border-bottom: 1px solid #edf5ed;
  color: var(--text-main);
  font-size: 14px;
  vertical-align: middle;
  transition: background 0.2s;
}

.table-content table tbody tr:nth-child(even) td { background: #f5fff7; }

.table-content table tbody tr:hover td {
  background: rgba(37,211,102,0.07);
  cursor: default;
}

.table-content table tbody tr:last-child td { border-bottom: none; }

/* Serial number column */
.table-content table th:first-child,
.table-content table td:first-child {
  text-align: center !important;
  border-right: 1px solid rgba(255,255,255,0.10);
  font-size: 13px;
}

/* Title / name column — left-aligned with icon */
.table-content table td.member-name {
  text-align: left !important;
  font-weight: 600;
  color: #2c3e22;
  padding-left: 20px;
}

.table-content table td.member-name i {
  color: #c0392b;
  margin-right: 8px;
  font-size: 14px;
}

/* Download column — centred */
.table-content table td.dl-col {
  text-align: center !important;
  white-space: nowrap;
}

/* Links inside table cells — hover animation */
.table-content table td a:not(.doc-download) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--dark-green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(29,168,81,0.25);
  padding-bottom: 1px;
  transition: all var(--transition);
  position: relative;
}

.table-content table td a:not(.doc-download)::after {
  content: '\f0c1';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 10px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition);
}

.table-content table td a:not(.doc-download):hover {
  color: var(--darker-green);
  border-bottom-color: var(--gold);
  letter-spacing: 0.2px;
}

.table-content table td a:not(.doc-download):hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Category separator rows */
.table-content table tbody tr.category-row td {
  background: linear-gradient(90deg, rgba(37,211,102,0.10) 0%, rgba(255,215,0,0.05) 100%);
  color: var(--darker-green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 7px 20px;
  border-top: 1px solid rgba(29,168,81,0.18);
  border-bottom: 1px solid rgba(29,168,81,0.10);
  text-align: left !important;
}

.table-content table tbody tr.category-row td i {
  margin-right: 6px;
  color: var(--dark-gold);
}


/* ============================================================
  16. DESIGNATION BADGES
   ============================================================ */
.desig-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  line-height: 1.4;
}

.desig-badge.president    { background: linear-gradient(135deg,#ffe066,#ffc200); color:#5a3e00; border:1px solid rgba(218,165,32,.35); }
.desig-badge.secretary    { background: linear-gradient(135deg,#1da851,#128C55); color:#fff;    border:1px solid rgba(18,140,85,.30); }
.desig-badge.govt         { background: linear-gradient(135deg,#4a90d9,#2166ac); color:#fff;    border:1px solid rgba(33,102,172,.30); }
.desig-badge.university   { background: linear-gradient(135deg,#7c59c2,#4f3997); color:#fff;    border:1px solid rgba(79,57,151,.30); }
.desig-badge.teacher      { background: linear-gradient(135deg,#00b4a6,#007f75); color:#fff;    border:1px solid rgba(0,127,117,.30); }
.desig-badge.non-teaching { background: linear-gradient(135deg,#d4874e,#a05c28); color:#fff;    border:1px solid rgba(160,92,40,.30); }


/* ============================================================
  17. YEAR / BEST-PRACTICES NAVIGATION CARDS
      Classes: .year-cards-grid  +  .box-menu
      Re-usable for: Best Practices, AQAR, Reports, any
      year-based navigation page
   ============================================================ */

/* Grid wrapper — replaces the loose col-* divs in the old HTML */
.year-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 4px;
}

/* Individual card */
.box-menu {
  background: linear-gradient(145deg, #f8fff8 0%, #fffef0 100%);
  border: 2px solid rgba(29,168,81,0.20);
  border-radius: 14px;
  text-align: center;
  padding: 30px 16px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(29,168,81,0.08), 0 1px 4px rgba(0,0,0,0.04);
  transition: all var(--transition);
  cursor: pointer;
  margin-bottom:10px;
}

/* Calendar icon — generated via ::before */
.box-menu::before {
  content: '\f073';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 30px;
  color: var(--primary-green);
  display: block;
  margin-bottom: 14px;
  transition: color var(--transition), transform var(--transition);
}

/* Bottom accent bar — slides in on hover */
.box-menu::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--gold), var(--primary-green));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
  border-radius: 0 0 2px 2px;
}

.box-menu:hover {
  border-color: var(--gold);
  background: linear-gradient(145deg, #f0fff5 0%, #fffde8 100%);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.box-menu:hover::before {
  color: var(--dark-gold);
  transform: scale(1.18) rotate(-5deg);
}

.box-menu:hover::after {
  transform: scaleX(1);
}

/* Link inside card — fills the entire card text area */
.box-menu a {
  display: block;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--darker-green) !important;
  text-decoration: none;
  border-bottom: none !important;
  letter-spacing: 0.4px;
  line-height: 1.3;
  transition: color var(--transition);
}

/* Stretch the anchor so the whole card is clickable */
.box-menu a::before {
  content: '';
  position: absolute;
  inset: 0;
}

.box-menu:hover a {
  color: var(--dark-gold) !important;
}

/* Small label below the year — optional, use a <span> inside <a> */
.box-menu a span {
  display: block;
  font-family: 'Segoe UI', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color var(--transition);
}

.box-menu:hover a span { color: var(--dark-green); }


/* ============================================================
  18. RESPONSIVE — TABLET  (max 992 px)
   ============================================================ */
@media (max-width: 992px) {
  .about-section { padding: 24px 0 36px; }

  .page-banner { padding: 22px 0 16px; }
  .page-banner h2 { font-size: 24px; }

  .left-menu-area { position: static; margin-bottom: 24px; }

  .right-content-area { padding: 24px 24px 32px; }
  .right-content-area > h2,
  .right-content-area > h1 { font-size: 22px; }
  .right-content-area p { font-size: 15px; }

  .full-img-area { width: 180px; margin: 0 0 20px 24px; }

  .faculty-boox { gap: 18px; }
  .faculty-boox > img { width: 90px; height: 110px; }

  /* Year cards — 3 per row on tablet */
  .year-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}


/* ============================================================
  19. RESPONSIVE — MOBILE  (max 768 px)
   ============================================================ */
@media (max-width: 768px) {
  .row { margin: 0 -8px; }
  [class*="col-"] { padding: 0 8px; }

  .about-section { padding: 18px 0 28px; }
  .about-section .container { padding: 0 14px; }

  .page-banner { padding: 18px 0 12px; }
  .page-banner h2 { font-size: 20px; }
  .breadcrumb li { font-size: 12px; }

  /* Sidebar ABOVE content on mobile */
  .col-md-3 { order: 1; margin-bottom: 20px; }
  .col-md-9 { order: 2; }

  .left-menu-area { position: static; margin-bottom: 0; }
  .left-menu-area h2 { font-size: 14px; padding: 12px 16px; }
  .left-menu-area ul li a { padding: 10px 16px; font-size: 13px; }

  .right-content-area { padding: 20px 18px 28px; }
  .right-content-area > h2,
  .right-content-area > h1 { font-size: 20px; margin-bottom: 18px; }
  .right-content-area p { font-size: 14.5px; line-height: 1.75; }

  /* faculty card */
  .faculty { flex-direction: row; align-items: flex-start; padding: 14px 16px; gap: 14px; }
  .faculty img { width: 72px; height: 90px; }
  .faculty p strong { font-size: 14.5px; }
  .faculty p { font-size: 13.5px; }

  /* alumni card */
  .faculty-boox { flex-direction: column; align-items: center; text-align: center; padding: 20px 18px; gap: 16px; }
  .faculty-boox > img { width: 100px; height: 120px; margin: 0 auto; }
  .faculty-fbx h4 { font-size: 17px !important; text-align: center; }
  .faculty-fbx table th,
  .faculty-fbx table td { padding: 7px 8px; }
  .faculty-fbx table tr:last-child td p { text-align: left !important; font-size: 13.5px !important; }

  /* profile float → centred block */
  .full-img-area { float: none; width: 160px; margin: 0 auto 20px; display: block; text-align: center; }

  /* plain tables */
  .right-content-area table { font-size: 13px; }
  .right-content-area table th,
  .right-content-area table td { padding: 9px 10px; }

  /* .table-content */
  .table-content table { font-size: 13.5px; min-width: 320px; }
  .table-content table th,
  .table-content table td { padding: 11px 12px; }
  .table-content table td.member-name { padding-left: 12px; }

  /* download button */
  a.doc-download, .doc-download { padding: 6px 12px; font-size: 12px; }

  /* doc list */
  .doc-list li { flex-wrap: wrap; gap: 8px; }

  .faculty-grid { grid-template-columns: 1fr; }

  /* info box */
  .info-box { padding: 13px 15px; gap: 10px; }

  /* Year cards — 2 per row on mobile */
  .year-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .box-menu { padding: 22px 12px 18px; }
  .box-menu::before { font-size: 26px; margin-bottom: 10px; }
  .box-menu a { font-size: 16px; }
}


/* ============================================================
  20. RESPONSIVE — SMALL MOBILE  (max 480 px)
   ============================================================ */
@media (max-width: 480px) {
  .page-banner h2 { font-size: 18px; }

  .right-content-area { padding: 16px 14px 22px; }
  .right-content-area > h2 { font-size: 18px; }
  .right-content-area p { font-size: 14px; }

  .right-content-area h3 { font-size: 15px; padding: 8px 14px; }

  .full-img-area { width: 130px; }

  .btn-internal { font-size: 13px; padding: 9px 18px; }

  .info-box { padding: 11px 12px; gap: 9px; }
  .info-box .info-icon { font-size: 18px; }

  .left-menu-area ul li a { padding: 10px 14px; font-size: 12.5px; }

  /* faculty */
  .faculty { flex-direction: column; align-items: center; text-align: center; }
  .faculty img { width: 80px; height: 96px; }

  /* alumni */
  .faculty-boox > img { width: 90px; height: 108px; }
  .faculty-fbx h4 { font-size: 15px !important; }

  /* table-content: hide Sl. column on very small screens */
  .table-content table th:first-child,
  .table-content table td:first-child { display: none; }
  .table-content table { min-width: 260px; }
  .table-content table th,
  .table-content table td { padding: 10px 10px; font-size: 13px; }
  .table-content table td.member-name { padding-left: 10px; }

  a.doc-download, .doc-download { padding: 6px 10px; font-size: 11.5px; }

  /* Year cards — single column on very small phones */
  .year-cards-grid { grid-template-columns: 1fr; gap: 12px; }
  .box-menu { padding: 20px 16px 16px; }
  .box-menu::before { font-size: 24px; margin-bottom: 8px; }
  .box-menu a { font-size: 15px; }
}


/* ============================================================
  21. PRINT STYLES
   ============================================================ */
@media print {
  .left-menu-area,
  .page-banner,
  .btn-internal,
  .btn-internal-outline { display: none; }

  .right-content-area {
    border: none;
    box-shadow: none;
    padding: 0;
    width: 100%;
  }

  .about-section { background: none; padding: 0; }
  .row { display: block; }
  [class*="col-"] { width: 100% !important; padding: 0; }

  .faculty-boox,
  .faculty { page-break-inside: avoid; }

  a.doc-download, .doc-download {
    background: none;
    color: var(--dark-green) !important;
    box-shadow: none;
    border: 1px solid var(--dark-green) !important;
    padding: 4px 10px;
  }

  .box-menu {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }
}
