@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Noto+Serif+Tamil&family=Noto+Serif+Devanagari&family=Merriweather&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
 

@font-face {
  font-family: 'Mokgech';
  src: url('fonts/OldeEnglish.ttf') format('truetype');
}


:root {
  --color-violet: #4e2d21;
  --color-blue: #3498db;
  --color-kaavi: #640D5F;
  --color-red: #c0392b;
  --color-black: #1a1a1a;
  --color-white: #ffffff;
  --color-glass-bg: rgba(255, 255, 255, 0.1);
  --color-glass-border: rgba(255, 255, 255, 0.3);
  --gradient-main: linear-gradient(90deg, #5f2c82, #49a09d);
  --gradient-secondary: linear-gradient(120deg, #6a11cb, #2575fc);
  --gradient-tertiary: linear-gradient(135deg, #3498db, #d35400);
  --gradient-accent: linear-gradient(135deg, #d35400, #c0392b);
  --font-sans: 'Lato', sans-serif;
  --font-serif: 'Merriweather', serif;
}

/* Fallback for flexbox */
.section.three-column,
.section.two-column,
.footer-grid,
.logo-branding-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/* Fallback for flex-direction, justify-content, align-items */
.section.three-column,
.section.two-column,
.footer-grid,
.logo-branding-wrap {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

/* Vendor prefixes for border-radius and box-shadow */
.section,
.section.three-column > div,
.section.two-column > div,
.news-container,
.organogram-link-container a,
#imageSlider,
#imageSlider .slider-image {
  -webkit-border-radius: 12px;
  border-radius: 12px;
  -webkit-box-shadow: 0 4px 16px rgba(0,0,0,.05);
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

/* Vendor prefixes for background gradients */
.hero,
footer,
.mobile-toggle {
  background: #452C63;
  background: -webkit-linear-gradient(9deg, #452C63 0%, #3B71B3 100%);
  background: -moz-linear-gradient(9deg, #452C63 0%, #3B71B3 100%);
  background: -o-linear-gradient(9deg, #452C63 0%, #3B71B3 100%);
  background: linear-gradient(9deg, #452C63 0%, #3B71B3 100%);
}

/* Vendor prefixes for transition */
.cta-button,
.logo,
.organogram-link,
.modern-list li,
.nav-link,
.submenu-link {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Georgia;
}

html, body {
  height: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-black);
  line-height: 1.2;
  display: flex;
  background-color: #ffffff;
  flex-direction: column;
  scroll-behavior: smooth;
}

.glass {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.3);
  border-radius: 12px;
}




.header__topmenu {
  background: var(--color-violet);
  padding: 0.2rem 1rem;
  font-size: 0.9rem;
  color: var(--color-white);
  width: 100%;
}

.header__topmenu .top-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  justify-content: flex-start;
}

.header__topmenu .top-links a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: color .3s;
}

.header__topmenu .top-links a:hover {
  text-decoration: underline;
}

.header__middlesec {
    align-items: center;
    text-align: center;
  padding: 0.2rem 0.5rem; /* Further reduced padding (was 0.5rem 1rem) */
  margin:0;
  background: var(--color-white);
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

}

.logo-branding-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: 2.5rem;
}

.logo {
  height: auto;
  transition: transform .3s;
}

.description {
  margin-right: 2.5rem;
  text-align: right;
  font-family: 'Lora';
}

.description .ta-text {
  font-family: 'Noto Serif Tamil', serif;
}




.college-name {
  margin: 0;
  padding: 0.4rem 0;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 0.6;
  text-align: center;
  overflow: hidden;
}

.college-name.ta {
  font-family: 'Noto Serif Tamil', serif;
}

.college-name.hi {
  font-family: 'Noto Serif Devanagari', serif;
}

main {
  flex: 1 0 auto;
  padding: 2rem 0;
}

.hero {
  background: linear-gradient(9deg, rgba(69, 44, 99, 1) 0%, rgba(59, 113, 179, 1) 100%);
  color: var(--color-white);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 16px;
  margin: 0 1rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
}

.banhero {
   background: linear-gradient(270deg, #452c63, #3b71b3, #6a4fbf, #2b5876);
  background-size: 600% 600%;  /* makes gradient bigger so it can move */
  animation: gradientShift 12s ease infinite;
  color: var(--color-white);
  padding: 1.0rem 1rem;
  text-align: center;
  border-radius: 16px;
  height: 90px;
  margin: 0 1rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
}


main h2, main h3 {
  color: var(--color-kaavi);
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  padding: .75rem 1.5rem;
  background: var(--gradient-accent);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform .3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

footer {
  background: linear-gradient(9deg, rgba(69, 44, 99, 1) 34%, rgba(173, 45, 156, 1) 100%);
  color: var(--color-white);
  padding: 2rem 0;
  flex-shrink: 0;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, .3), -3px -3px 6px rgba(255, 255, 255, .1);
  transition: all .3s;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-grid div {
  padding: 0 1.5rem;
}

footer a {
  color: var(--color-white);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

address {
  font-style: normal;
  line-height: 1.6;
}

.copyright {
  text-align: center;
  margin-top: 1rem;
  font-size: .85rem;
}

.section {
  padding: 1rem 0.5rem;
  background: #fff;
  margin: 1rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

.section.three-column {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
  padding: 1rem;
  align-items: stretch;
}
.section.three-column > div:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  border-color: #3498db; /* Change border color on hover (var(--color-blue)) */
}
.section.three-column > div {
  flex: 1 1 calc(33.333% - 1.5rem);
  background: #fff;
  padding: 1.0rem;
    border: 2px solid #640D5F; /* Added border color (var(--color-kaavi)) */

  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
  font-family:georgia;
  display: flex;
  flex-direction: column;
  height: 450px;
  max-width: 33%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section.three-column > div:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.section.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: .9rem;
  border-radius: 12px;
}

.section.two-column > div {
  flex: 1 1 calc(50% - 1rem);
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  min-height: 500px;
  height: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  font-size: 1.5rem;
  padding: .5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  transition: opacity .3s;
}

.scroll-top:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
}

.modern-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  min-height: 160px;
  height:400px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}


.modern-list li {
  position: relative;
  background: #f8f9fa;
  padding: .75rem .75rem .75rem 3rem;
  margin: 0.5rem 1rem;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, background 0.3s ease;
}

.modern-list li:hover {
  transform: translateX(10px);
  background: #d9f0e5;
}
.modern-list.expanded {
  max-height: 650px;
}

.modern-list li::before {
  content: "✔";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #2d8f5c;
  font-size: 1.2rem;
  font-weight: bold;
}

.organogram-link-container {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: 1rem;
}

.organogram-link {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #007bff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}

.organogram-link:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.news-container {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.news-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #722F37;
  margin-bottom: 1rem;
  text-align: center;
}

.news-list-wrapper {
  flex: 1;
  overflow: hidden;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  animation: scroll-news 12s linear infinite;
}

.news-list:hover {
  animation-play-state: paused;
}

.news-list li {
  position: relative;
  background: #f8f9fa;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  margin: 0.5rem 1rem;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, background 0.3s ease;
}

.news-list li:hover {
  transform: translateX(10px);
  background: #e6f3ff;
}

.news-list li::before {
  content: "🔔";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-kaavi);
  font-size: 1.2rem;
}

.news-list li a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-list li a:hover {
  color: var(--color-kaavi);
  text-decoration: underline;
}


.header-row img {
  height: 100px;
  max-width: 100px;
  border-radius: 8px;
  border: 3px solid var(--color-kaavi);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align:center;
}

.header-row img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.header-row h3:hover {
  color: var(--color-blue);
}

.section.three-column > div > p {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: 1rem;
  text-align: center;
  max-width: 90%;
}

.header-row,.vision-section, .mission-section {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  border-top: 1px solid rgba(100, 105, 255, 0.2);
}

.header-row h3, .vision-section h3, .mission-section h3 {
  font-family: 'Lora', serif;

  font-weight: 700;
  color: var(--color-kaavi);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  text-align: left;
}

.vision-section p, .mission-section p {
  font-family: Georgia;
  text-align:justify;

  color: #333;
  line-height: 1.3;
  
}

.vision-section u {
  text-decoration: none;
}

.modern-list-container {
  flex: 1;
  text-align: center;
}

.modern-list-container h2 {
  font-family: 'Lora', serif;
  
  font-weight: 700;
  color: var(--color-kaavi);
  margin-bottom: 0.5rem;
}

.expand-button {
  display: block;
  margin: 1rem auto;
  padding: 0.75rem 2rem;
  background: var(--color-kaavi);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Lora', serif;

  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.expand-button:hover {
  background: var(--color-blue);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#announcementBar {
  margin: 0 !important;
  padding: 0 !important;
  line-height: normal;
}
#announcementBar * {
  margin: 0;
  padding: 0;
}

/* Menu Styles */
.navbar {
 background: linear-gradient(90deg, var(--color-kaavi), var(--color-blue));
  padding: 0.7rem;   /* ✅ remove vertical padding */
  min-height: 2.9rem;    /* ✅ give fixed height instead */
  display: flex;
  align-items: center; /* ✅ vertically center links */
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: Georgia, serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.menu-item {
  position: relative;
}

.nav-link {
  font-family: Georgia, serif;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.arrow.down::after {
  content: '▼';
  display: inline-block;
  margin-left: 0.3rem;
  font-size: 0.8rem;
}

.arrow.left::after {
  content: '▶';
  display: inline-block;
  margin-left: 0.3rem;
  font-size: 0.8rem;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid rgba(100, 105, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 0.5rem 0;
  min-width: 200px;
}

.dropdown:hover .sub-menu {
  display: block;
}

.submenu-link {
  font-family: Georgia, serif;
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
}

.submenu-link:hover {
  background: #e6f3ff;
  color: var(--color-kaavi);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle.active::before {
  content: '✕';
}

/* Slider images fill container */
#imageSlider {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: 12px;
}

#imageSlider .slider-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  display: none;
  border-radius: 12px;
}

#imageSlider .slider-image.active {
  display: block;
}

#Activity h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#Activity p {
  text-align: justify;
}

/* Keyframe Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes scroll-news {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .section.three-column {
    flex-direction: column;
    align-items: center;
  }

  .section.three-column > div {
    flex: 1 1 100%;
    max-width: 100%;
    min-height: auto;
    padding: 1rem;
  }

  .section.two-column > div {
    flex: 1 1 100%;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
    color: #fff;
    font-size: 2rem;
    background: linear-gradient(90deg, var(--color-kaavi), var(--color-blue));
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    width: 100%;
    text-align: right;
    z-index: 1002;
  }

  .navbar {
    position: relative;
    width: 100%;
    z-index: 1001;
    padding: 0;
    background: none;
  }

  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    flex-direction: column;
    padding: 0;
    margin: 0;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-item {
    width: 100%;
    border-bottom: 1px solid #eee;
    position: relative;
  }

  .nav-link, .submenu-link {
    color: #222;
    background: none;
    padding: 1.1rem 1.5rem;
    font-size: 1.1rem;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    display: block;
    box-sizing: border-box;
    cursor: pointer;
  }

  .nav-link:active, .submenu-link:active {
    background: #f0f0f0;
  }

  .sub-menu {
    display: none;
    position: static;
    background: #f8f8f8;
    box-shadow: none;
    width: 100%;
    padding-left: 1.5rem;
    margin: 0;
    border: none;
    z-index: 1001;
  }

  .dropdown.active > .sub-menu {
    display: block;
  }

  .sub-menu .dropdown > .submenu-link {
    padding-left: 2.5rem;
    background: #f4f4f4;
  }

  .sub-menu .sub-menu .submenu-link {
    padding-left: 3.5rem;
    background: #f8f8f8;
  }

  .dropdown:hover > .sub-menu {
    display: none !important;
  }

  

  .logo-branding-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .logo {
    height: 80px;
    margin-bottom: 1rem;
  }

  .description {
    margin-right: 0;
    text-align: center;
    padding: 1rem;
  }

  
  

  .top-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .arrow.left::after {
    content: '▼';
    transform: rotate(0deg);
  }

  .section.three-column > div {
    padding: 0.75rem;
    max-width: 100%;
    margin: 0 1rem;
    min-height: auto;
  }

  .header-row {
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
  }

  .header-row img {
    height: 60px;
    max-width: 60px;
  }

  .header-row h3 {
    font-size: 1.2rem;
  }

  .section.three-column > div > p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  .vision-section, .mission-section {
    padding: 0.4rem;
    margin-bottom: 0.5rem;
  }

  .vision-section h3, .mission-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }

  .vision-section p, .mission-section p {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .modern-list-container {
    margin: 1.5rem 1rem;
  }

  .modern-list {
    max-height: 120px;
  }

  .modern-list li {
    font-size: 0.9rem;
    padding: 0.5rem 0.5rem 0.5rem 2.5rem;
    margin: 0.4rem 0.8rem;
  }

  .modern-list li::before {
    font-size: 1rem;
  }

  .expand-button {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }

  .news-container {
    margin: 1.5rem 1rem;
    padding: 0.75rem;
  }

  .news-container h2 {
    font-size: 1.3rem;
  }

  .news-list-wrapper {
    max-height: 120px;
    padding-top: 2.5rem;
  }

  .news-list li {
    font-size: 0.9rem;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    margin: 0.4rem 0.8rem;
  }

  .news-list li::before {
    font-size: 1rem;
  }
}

@media (min-width: 769px) {
  .sub-menu .dropdown {
    position: relative;
  }
  .sub-menu .dropdown > .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 1px;
    min-width: 200px;
    position: absolute;
    display: none;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1003;
  }
  .sub-menu .dropdown:hover > .sub-menu {
    display: block;
  }
}

/****/



.logo-branding-wrap {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
  margin-left: 0.5rem;
}



.description .ta-text {
  font-family: 'Noto Serif Tamil', serif;
}

.college-name.ta {
  font-family: 'Noto Serif Tamil', serif;
}

.college-name.hi {
  font-family: 'Noto Serif Devanagari', serif;
}
/**/
/* Staff Details Table Styles */
#staff-details-table {
  width: 100%;
  max-width: 600px; /* Constrain width for readability */
  margin: 1.5rem auto; /* Center table with reduced margin */
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #333;
}

/* Table Header */
#staff-details-table thead th {
  background: #640D5F; /* var(--color-kaavi) */
  color: #ffffff;
  padding: 0.6rem;
  text-align: left;
  font-family: 'Lora', serif;
  font-weight: 700;
  text-transform: uppercase;
}

/* Column Widths */
#staff-details-table th:first-child,
#staff-details-table td:first-child {
  width: 60%; /* Wider for Department */
}

#staff-details-table th:last-child,
#staff-details-table td:last-child {
  width: 40%; /* Narrower for Staff Count */
  text-align: center; /* Center count */
}

/* Table Body */
#staff-details-table tbody tr {
  border-bottom: 1px solid rgba(100, 105, 255, 0.2);
  transition: background 0.3s ease;
}

#staff-details-table tbody tr:hover {
  background: #e6f3ff; /* Light blue hover effect (matches theme) */
}

/* Table Cells */
#staff-details-table td {
  padding: 0.6rem;
  vertical-align: middle;
}

/* Table Footer */
#staff-details-table tfoot td {
  padding: 0.6rem;
  font-weight: 600;
  background: #f8f9fa;
  text-align: right;
}

#staff-details-table tfoot td:first-child {
  text-align: left; /* Align Total label to left */
}

/* Responsive Design */
@media (max-width: 768px) {
  #staff-details-table {
    font-size: 0.85rem;
    margin: 1rem auto;
  }

  #staff-details-table thead th,
  #staff-details-table td {
    padding: 0.4rem;
  }

  #staff-details-table th:first-child,
  #staff-details-table td:first-child {
    width: 55%; /* Adjusted for mobile */
  }

  #staff-details-table th:last-child,
  #staff-details-table td:last-child {
    width: 45%;
  }
}
/**/  


@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/**/
#newsTicker {
  display: inline-block;
  animation: tickerScroll 40s linear infinite;
}

#newsTicker:hover {
  animation-play-state: paused; /* pause when hovered */
}

#newsTicker a {
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

#newsTicker a:hover {
  text-decoration: underline;
}

@keyframes tickerScroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
