/* RESET AND BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f6fafe;
  color: #1b222e;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* RESPONSIVE HEADER STYLES */
header {
    background: #072d4f;
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 1, 2, 0.3);
    /* position: sticky; */
    top: 0;
    z-index: 999;
    width: 100%;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4vw;
    min-height: 120px;
    flex-wrap: wrap;
    position: relative;
}

.logo {
    height: clamp(80px, 15vw, 110px);
    border-radius: 8px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.uni-title {
    flex: 1;
    text-align: center;
    margin: 0 20px;
    min-width: 250px;
}

.uni-title h1 {
    margin: 0 0 5px 0;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    letter-spacing: 0.7px;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.uni-title span {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: #ddeefe;
    display: block;
    margin-top: 5px;
}

.uni-title h1 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.top-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 8px;
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    transition: color 0.16s;
    padding: 5px;
    border-radius: 4px;
}

.top-links a:hover {
    color: #ffe672;
    background: rgba(255, 230, 114, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle::before {
    content: '☰';
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.mobile-menu-toggle.active::before {
    content: '✕';
    font-size: 1.3rem;
}

/* RESPONSIVE NAVIGATION */
nav {
    background: #17549b;
    position: relative;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 12px 2vw;
    transition: all 0.3s ease;
}

.main-nav li {
    margin: 0;
}

.main-nav li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: all 0.15s ease;
    position: relative;
    display: block;
    white-space: nowrap;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.main-nav li a:hover,
.main-nav li a.active {
    background: #012d69;
    transform: translateY(-1px);
}

.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffe672;
    transition: width 0.3s ease;
}

.main-nav li a:hover::after {
    width: 80%;
}

/* MOBILE RESPONSIVE BREAKPOINTS */

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .top-bar {
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 15px 20px;
        min-height: 80px;
        align-items: center;
    }
    
    .logo {
        height: clamp(50px, 10vw, 65px);
        order: 1;
    }
    
    .uni-title {
        flex: 1;
        text-align: center;
        margin: 0 10px;
        min-width: auto;
        order: 2;
    }
    
    .uni-title h1 {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        margin-bottom: 2px;
    }
    
    .uni-title span {
        font-size: clamp(0.7rem, 2vw, 0.85rem);
    }
    
    .top-links {
        display: none;
    }
    
    /* Mobile Navigation */
    nav {
        position: relative;
        overflow: hidden;
    }
    
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: #17549b;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        gap: 0;
        padding: 20px 0;
        animation: slideDown 0.3s ease-out;
    }
    
    .main-nav.mobile-show {
        display: flex;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav li a {
        padding: 15px 25px;
        text-align: left;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 0;
        white-space: normal;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .main-nav li a:hover {
        background: #012d69;
        transform: none;
        padding-left: 30px;
    }
    
    .main-nav li a::after {
        display: none;
    }
}

/* Body scroll lock when mobile menu is open */
body.mobile-nav-open {
    overflow: hidden;
}

/* Animation for mobile menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional mobile styles */
.mobile-view .scroll-to-top {
    bottom: 80px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 16px;
}

/* RESPONSIVE HEADER STYLES */
header {
  background: #072d4f;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 1, 2, 0.3);
  /* position: rela; */
  top: 0;
  scroll-padding-top: 60px;
  z-index: 999;
  width: 100%;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4vw;
  min-height: 120px;
  flex-wrap: wrap;
  position: relative;
}

.logo {
  height: clamp(80px, 15vw, 110px);
  border-radius: 8px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.logo:hover {
  transform: scale(1.05);
}

.uni-title {
  flex: 1;
  text-align: center;
  margin: 0 20px;
  min-width: 250px;
}

.uni-title h1 {
  margin: 0 0 5px 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.7px;
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
}

.uni-title span {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: #ddeefe;
  display: block;
  margin-top: 5px;
}

.uni-title h1 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  transition: color 0.16s;
  padding: 5px;
  border-radius: 4px;
}

.top-links a:hover {
  color: #ffe672;
  background: rgba(255, 230, 114, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE NAVIGATION */
nav {
  background: #17549b;
  position: relative;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 12px 2vw;
  transition: all 0.3s ease;
}

.main-nav.mobile-hidden {
  display: none;
}

.main-nav li {
  margin: 0;
}

.main-nav li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: all 0.15s ease;
  position: relative;
  display: block;
  white-space: nowrap;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.main-nav li a:hover,
.main-nav li a.active {
  background: #012d69;
  transform: translateY(-1px);
}

.main-nav li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ffe672;
  transition: width 0.3s ease;
}

.main-nav li a:hover::after {
  width: 80%;
}

/* HERO SECTION RESPONSIVE */
.hero-row {
  display: flex;
  align-items: flex-start;
  padding: 19px 4vw 0 4vw;
  gap: 22px;
  flex-wrap: wrap;
}

.carousel-main {
  background: linear-gradient(135deg, #e2ecfb 0%, #f0f7ff 100%);
  border-radius: 13px;
  box-shadow: 0 4px 20px rgba(8, 97, 203, 0.15);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 280px;
  flex: 2;
  width: 100%;
}

.carousel-img {
  width: 100%;
  max-width: 100%;
  height: clamp(250px, 50vw, 420px);
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid #bee3fb;
  transition: transform 0.3s ease;
}

.carousel-img:hover {
  transform: scale(1.02);
}

.carousel-controls {
  margin: 8px 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.dot {
  height: 13px;
  width: 13px;
  border-radius: 50%;
  background: #b6cef0;
  border: 2px solid #4887d8;
  cursor: pointer;
  transition: all 0.9s ease;
}

.dot.active {
  background: #306ec1;
  transform: scale(1.2);
}

.dot:hover {
  background: #306ec1;
  transform: scale(1.1);
}

/* SIDEBAR RESPONSIVE */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 280px;
  flex: 1;
  width: 100%;
}

/* NEWS BLOCK RESPONSIVE */
.news-block {
  background: #fff;
  color: #1b243c;
  border-radius: 13px;
  box-shadow: 0 3px 15px rgba(20, 79, 188, 0.1);
  padding: 18px 15px;
  border-left: 4px solid #1567c3;
}

.news-block h3 {
  color: #0e4882;
  margin-top: 0;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.marquee-outer {
  position: relative;
  height: clamp(80px, 15vw, 120px);
  overflow: hidden;
  background: #f8fbff;
  border-radius: 8px;
  padding: 8px;
}

.notification-list {
  position: absolute;
  width: 100%;
  left: 0;
  top: 10px;
  margin: 0;
  padding: 8px;
  list-style: none;
  transition: transform 0.5s ease;
}

.notification-list li {
  padding: 8px 4px;
  text-align: left;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: #1756a0;
  background: transparent;
  transition: all 0.4s ease;
  border-radius: 4px;
  margin-bottom: 4px;
}

.notification-list li:hover {
  background: #e3f2fd;
  color: #0d47a1;
  cursor: pointer;
}

.notif-anim {
  background: linear-gradient(90deg, #fff3cd, #ffeaa7) !important;
  color: #d68910 !important;
  font-weight: 500;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* VC CARD RESPONSIVE */
.vc-card {
  background: linear-gradient(135deg, #195588 0%, #2980b9 50%, #3498db 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 15px 20px 15px;
  border-radius: 13px;
  box-shadow: 0 4px 20px rgba(17, 73, 136, 0.2);
  position: relative;
  overflow: hidden;
}

.vc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f39c12, #e74c3c, #9b59b6);
}

.vc-img {
  width: clamp(70px, 15vw, 85px);
  height: clamp(85px, 18vw, 105px);
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.vc-quote {
  text-align: center;
  margin-top: 12px;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: #fff;
}

.vc-quote i {
  color: #f1c40f;
  font-size: 1.2em;
  margin-right: 6px;
}

.vc-quote p {
  margin: 8px 0;
  font-style: italic;
  line-height: 1.4;
}

.vc-name {
  display: block;
  margin-top: 8px;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: #ecf0f1;
  font-weight: 600;
}

/* TABS SECTION RESPONSIVE */
.tabs-section {
  margin: 30px auto 0 auto;
  padding: 12px 3vw 25px 3vw;
  max-width: 1200px;
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
  border-radius: 12px;
  box-shadow: 0 3px 20px rgba(202, 207, 231, 0.3);
}

.tabs-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  background: #e7eff8;
  border: none;
  color: #176fcb;
  font-weight: 500;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 16px);
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tab-btn.active,
.tab-btn:hover {
  background: #1567c3;
  color: #fff;
  transform: translateY(-2px);
}

.tabs-content {
  background: #fff;
  border-radius: 8px;
  padding: clamp(15px, 4vw, 20px);
  box-shadow: 0 2px 10px rgba(219, 237, 250, 0.5);
  min-height: 200px;
}

.tabs-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tabs-table > div {
  background: #f8fbff;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #1968c0;
  transition: transform 0.3s ease;
}

.tabs-table > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(25, 104, 192, 0.1);
}

.tabs-table h4 {
  color: #1968c0;
  font-size: clamp(1rem, 2.5vw, 1.05rem);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tabs-table ul {
  padding-left: 18px;
  margin: 0;
}

.tabs-table li {
  margin-bottom: 6px;
  color: #555;
  transition: color 0.3s ease;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.tabs-table li:hover {
  color: #1968c0;
  cursor: pointer;
}

/* ANNOUNCEMENT ROW RESPONSIVE */
.announcement-row {
  display: flex;
  gap: 30px;
  margin: 25px 4vw 0 4vw;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(209, 228, 241, 0.4);
  padding: clamp(15px, 4vw, 22px);
  flex-wrap: wrap;
}

.announcement-row > div {
  flex: 1;
  min-width: 250px;
}

.announcement-row h4 {
  color: #1756a0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  flex-wrap: wrap;
}

.announcement-row ul {
  padding-left: 20px;
  margin: 0;
}

.announcement-row li {
  margin-bottom: 8px;
  transition: color 0.3s ease;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.announcement-row li:hover {
  color: #1756a0;
}

.announcement-row a {
  color: #1e7fd1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  word-break: break-word;
}

.announcement-row a:hover {
  text-decoration: underline;
  color: #0d47a1;
}

/* GALLERY RESPONSIVE */
.gallery-row {
  margin: 28px 4vw 0 4vw;
  background: #fff;
  border-radius: 12px;
  padding: 20px 0 30px 0;
  box-shadow: 0 3px 15px rgba(216, 231, 248, 0.4);
}

.gallery-row h3 {
  color: #083c70;
  text-align: center;
  margin-bottom: 18px;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery {
  display: flex;
  gap: clamp(15px, 4vw, 25px);
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.gallery img {
  width: clamp(150px, 25vw, 180px);
  height: clamp(100px, 15vw, 120px);
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #e2eaf7;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
  border-color: #1567c3;
  box-shadow: 0 4px 15px rgba(21, 103, 195, 0.3);
}

/* RESPONSIVE FOOTER STYLES */
footer {
  margin-top: 40px;
  background: linear-gradient(135deg, #1567c3 0%, #0f4c75 50%, #01254c 100%);
  color: #fff;
  padding-top: 30px;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(25px, 6vw, 40px);
  padding: 30px 4vw;
}

.footer-main > div {
  min-width: 200px;
}

.footer-main h4 {
  margin-bottom: 20px;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #ecf0f1;
  border-bottom: 2px solid #3498db;
  padding-bottom: 8px;
  display: inline-block;
  font-weight: 600;
}

.footer-main ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-main li {
  margin-bottom: 12px;
}

.footer-main a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 2px 0;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.footer-main a:hover {
  color: #3498db;
  text-decoration: underline;
}

.footer-main address {
  font-style: normal;
  color: #bdc3c7;
  line-height: 1.8;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.footer-main img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 10px;
  border: 2px solid #34495e;
}

.footer-bottom {
  text-align: center;
  background: #0b1426;
  padding: 20px 0;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: #95a5a6;
}

/* MODAL RESPONSIVE */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  padding: 20px;
}

.modal-box {
  background: #fff;
  border-radius: 15px;
  padding: clamp(20px, 5vw, 30px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 320px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay:not([style*="none"]) .modal-box {
  transform: scale(1);
}

.modal-box h2 {
  color: #1567c3;
  margin-bottom: 15px;
  font-size: clamp(1.3rem, 4vw, 1.5rem);
}

.modal-box p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.close-modal {
  padding: 10px 20px;
  background: #1567c3;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  transition: background 0.3s ease;
}

.close-modal:hover {
  background: #0f4c75;
}

/* BREADCRUMB */
.breadcrumb {
  background: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.breadcrumb a {
  color: #1567c3;
  text-decoration: none;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 600;
}

.breadcrumb .separator {
  margin: 0 8px;
  color: #6c757d;
}

.breadcrumb .current {
  color: #495057;
  font-weight: 500;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, #1567c3 0%, #0f4c75 50%, #01254c 100%);
  color: #fff;
  padding: clamp(40px, 10vw, 80px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1.5" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="1" fill="white" opacity="0.1"/></svg>');
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  margin: 0 0 20px 0;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1rem, 3vw, 1.3rem);
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 5vw, 30px);
  flex-wrap: wrap;
  margin-top: 40px;
}

.stat-item {
  background: rgba(255,255,255,0.15);
  padding: clamp(20px, 5vw, 30px) clamp(15px, 4vw, 25px);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  min-width: 150px;
  transition: transform 0.3s ease;
  text-align: center;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item h3 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  margin: 0;
  font-weight: 900;
  color: #f1c40f;
}

.stat-item p {
  margin: 10px 0 0 0;
  font-weight: 600;
  font-size: clamp(0.85rem, 2vw, 1rem);
}

/* ABOUT PAGE STYLES */
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: #1567c3;
  margin-bottom: clamp(40px, 8vw, 60px);
  font-weight: 700;
  line-height: 1.2;
  padding: 0 20px;
}

.overview-section {
  padding: clamp(40px, 10vw, 80px) 0;
  background: #fff;
}

.overview-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 8vw, 60px);
  align-items: center;
}

.overview-text h2 {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  color: #1567c3;
  margin-bottom: 25px;
  font-weight: 700;
}

.overview-text p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.key-highlights {
  margin-top: 40px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8fbff;
  border-radius: 10px;
  border-left: 4px solid #1567c3;
}

.highlight-item i {
  font-size: 2em;
  color: #1567c3;
  flex-shrink: 0;
}

.highlight-item h4 {
  color: #1567c3;
  margin-bottom: 5px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.highlight-item p {
  color: #666;
  margin: 0;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.overview-image img {
  width: 100%;
  height: clamp(250px, 50vw, 400px);
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* VMV SECTION */
.vmv-section {
  padding: clamp(40px, 10vw, 80px) 0;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.vmv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 5vw, 40px);
}

.vmv-card {
  background: #fff;
  padding: clamp(20px, 5vw, 40px) clamp(15px, 4vw, 30px);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.vmv-card:hover {
  transform: translateY(-10px);
}

.vmv-icon {
  width: clamp(60px, 12vw, 80px);
  height: clamp(60px, 12vw, 80px);
  background: linear-gradient(135deg, #1567c3, #3498db);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.vmv-icon i {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #fff;
}

.vmv-card h3 {
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  color: #1567c3;
  margin-bottom: 20px;
  font-weight: 600;
}

.vmv-card p {
  color: #666;
  line-height: 1.6;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
}

/* HISTORY TIMELINE */
.history-section {
  padding: clamp(40px, 10vw, 80px) 0;
  background: #fff;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #1567c3;
}

.timeline-item {
  display: flex;
  margin-bottom: 50px;
  position: relative;
  flex-direction: row;
}

.timeline-year {
  background: #1567c3;
  color: #fff;
  padding: clamp(8px, 2vw, 15px) clamp(12px, 3vw, 20px);
  border-radius: 25px;
  font-weight: bold;
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  min-width: clamp(70px, 15vw, 100px);
  text-align: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-content {
  background: #f8fbff;
  padding: clamp(15px, 4vw, 25px);
  border-radius: 10px;
  margin-left: 20px;
  border-left: 4px solid #1567c3;
  flex: 1;
}

.timeline-content h4 {
  color: #1567c3;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  margin-bottom: 10px;
}

.timeline-content p {
  color: #666;
  line-height: 1.6;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* LEADERSHIP SECTION */
.leadership-section {
  padding: clamp(40px, 10vw, 80px) 0;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 5vw, 40px);
}

.leader-card,
.principal-card {
  background: #fff;
  padding: clamp(20px, 5vw, 30px);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  max-width: 600px;
  margin: 0 auto;
}

.leader-card:hover,
.principal-card:hover {
  transform: translateY(-5px);
}

.leader-card img,
.principal-card img {
  width: clamp(100px, 25vw, 120px);
  height: clamp(125px, 30vw, 150px);
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 3px solid #1567c3;
}

.leader-card h4,
.principal-card h3 {
  color: #1567c3;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  margin-bottom: 10px;
  font-weight: 600;
}

.position,
.designation {
  color: #f39c12;
  font-weight: 500;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  margin-bottom: 15px;
}

.description {
  color: #666;
  line-height: 1.5;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* ACHIEVEMENTS SECTION */
.achievements-section {
  padding: clamp(40px, 10vw, 80px) 0;
  background: #fff;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(20px, 5vw, 30px);
}

.achievement-item {
  text-align: center;
  padding: clamp(20px, 5vw, 30px) clamp(15px, 4vw, 20px);
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  border-radius: 15px;
  border: 1px solid #e3f2fd;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(21, 103, 195, 0.1);
}

.achievement-item i {
  font-size: clamp(2rem, 6vw, 3rem);
  color: #1567c3;
  margin-bottom: 20px;
}

.achievement-item h4 {
  color: #1567c3;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  margin-bottom: 10px;
  font-weight: 600;
}

.achievement-item p {
  color: #666;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* DEPARTMENTS PAGE STYLES */
.faculty-tabs {
  background: #f8faff;
  padding: clamp(20px, 5vw, 30px) 0;
  margin-top: 0;
}

.faculty-tabs .tabs-nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 3vw, 20px);
  flex-wrap: wrap;
  padding: 0 20px;
}

.faculty-tab {
  background: #fff;
  border: 2px solid #e3f2fd;
  color: #1567c3;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  padding: clamp(10px, 3vw, 15px) clamp(15px, 4vw, 25px);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(21, 103, 195, 0.1);
  white-space: nowrap;
}

.faculty-tab.active,
.faculty-tab:hover {
  background: #1567c3;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(21, 103, 195, 0.3);
}

.faculty-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.faculty-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.departments-section {
  padding: clamp(30px, 8vw, 50px) 0;
  background: #fff;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 5vw, 30px);
  margin-top: 20px;
}

.department-card {
  background: #fff;
  border: 1px solid #e3f2fd;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(21, 103, 195, 0.2);
}

.dept-header {
  background: linear-gradient(135deg, #1567c3, #3498db);
  color: #fff;
  padding: clamp(15px, 5vw, 25px);
  text-align: center;
  position: relative;
}

.dept-icon {
  width: clamp(50px, 12vw, 70px);
  height: clamp(50px, 12vw, 70px);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.dept-icon i {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  color: #fff;
}

.dept-header h3 {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin-bottom: 8px;
  font-weight: 700;
}

.dept-code {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  opacity: 0.9;
  margin: 0;
}

.dept-content {
  padding: clamp(15px, 4vw, 25px);
}

.programs-offered {
  margin-bottom: 20px;
}

.programs-offered h4 {
  color: #1567c3;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.programs-offered ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.programs-offered li {
  padding: 5px 0;
  border-bottom: 1px dashed #e3f2fd;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.degree {
  background: #e3f2fd;
  color: #1567c3;
  padding: 2px 8px;
  border-radius: 15px;
  font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  font-weight: 600;
  min-width: 35px;
  text-align: center;
}

.dept-info {
  background: #f8fbff;
  padding: clamp(10px, 3vw, 15px);
  border-radius: 10px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #666;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.info-item i {
  color: #1567c3;
  width: 20px;
}

.dept-highlights h4 {
  color: #1567c3;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 10px;
}

.dept-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dept-highlights li {
  padding: 4px 0;
  color: #666;
  position: relative;
  padding-left: 20px;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.dept-highlights li::before {
  content: '✓';
  color: #27ae60;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* RESEARCH CENTERS */
.research-centers {
  padding: clamp(40px, 10vw, 60px) 0;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.centers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(20px, 5vw, 30px);
}

.center-card {
  background: #fff;
  padding: clamp(20px, 5vw, 30px) clamp(15px, 4vw, 25px);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.center-card:hover {
  transform: translateY(-8px);
}

.center-icon {
  width: clamp(60px, 12vw, 80px);
  height: clamp(60px, 12vw, 80px);
  background: linear-gradient(135deg, #1567c3, #3498db);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.center-icon i {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  color: #fff;
}

.center-card h4 {
  color: #1567c3;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  margin-bottom: 15px;
  font-weight: 600;
}

.center-card p {
  color: #666;
  line-height: 1.6;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* FACULTY PAGE STYLES */
.faculty-content-section {
  padding: clamp(30px, 8vw, 40px) 0 clamp(40px, 10vw, 60px) 0;
  background: #fff;
}

.faculty-content h3 {
  color: #1567c3;
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  margin-bottom: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 5vw, 25px);
  margin-top: 30px;
}

.faculty-card {
  background: #fff;
  border: 1px solid #e8f4fd;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  position: relative;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(21, 103, 195, 0.15);
}

.faculty-image {
  position: relative;
  height: clamp(180px, 40vw, 200px);
  overflow: hidden;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-image img {
  transform: scale(1.05);
}

.faculty-info {
  padding: clamp(15px, 4vw, 20px);
  text-align: center;
}

.faculty-info h4 {
  color: #1567c3;
  font-size: clamp(1.1rem, 3vw, 1.2rem);
  margin-bottom: 8px;
  font-weight: 700;
}

.qualification {
  color: #f39c12;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  margin-bottom: 8px;
  background: #fff3cd;
  padding: 3px 8px;
  border-radius: 15px;
  display: inline-block;
}

.designation {
  color: #27ae60;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.specialization {
  background: #f8fbff;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  color: #666;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  border-left: 3px solid #1567c3;
}

.experience {
  color: #e74c3c;
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  font-weight: 600;
}

.contact-info {
  background: #f8fbff;
  padding: 8px;
  border-radius: 8px;
  margin: 12px 0;
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
}

.contact-info div {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-info i {
  color: #1567c3;
  width: 16px;
}

/* STAFF SECTION */
.staff-section {
  padding: clamp(40px, 10vw, 60px) 0;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.staff-tabs {
  background: #f8faff;
  padding: clamp(20px, 5vw, 30px) 0;
}

.staff-tabs .tabs-nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 3vw, 15px);
  flex-wrap: wrap;
  padding: 0 20px;
}

.staff-tab {
  background: #fff;
  border: 2px solid #e3f2fd;
  color: #1567c3;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  padding: clamp(10px, 3vw, 12px) clamp(15px, 4vw, 20px);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(21, 103, 195, 0.1);
  min-width: 140px;
  justify-content: center;
}

.staff-tab.active,
.staff-tab:hover {
  background: #1567c3;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(21, 103, 195, 0.3);
}

.dept-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding: clamp(15px, 4vw, 20px);
  background: #f8fbff;
  border-radius: 15px;
}

.dept-tab {
  background: #fff;
  border: 1px solid #e3f2fd;
  color: #1567c3;
  font-weight: 500;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  padding: clamp(6px, 2vw, 8px) clamp(10px, 3vw, 15px);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 100px;
  justify-content: center;
}

.dept-tab.active,
.dept-tab:hover {
  background: #1567c3;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(21, 103, 195, 0.2);
}

.staff-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.staff-content.active {
  display: block;
}

.dept-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.dept-content.active {
  display: block;
}

.staff-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 5vw, 25px);
  margin-top: 30px;
}

.staff-category,
.category-section {
  background: #fff;
  padding: clamp(20px, 5vw, 25px);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-left: 4px solid #1567c3;
}

.staff-category:hover,
.category-section:hover {
  transform: translateY(-5px);
}

.staff-category h4,
.category-section h4 {
  color: #1567c3;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.staff-category p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.staff-count {
  background: #1567c3;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.staff-list {
  margin-top: 10px;
}

.staff-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #e3f2fd;
}

.staff-item:last-child {
  border-bottom: none;
}

.staff-item .name {
  color: #666;
  flex: 1;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.staff-item .count {
  background: #1567c3;
  color: #fff;
  padding: 3px 10px;
  border-radius: 15px;
  font-weight: 600;
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(15px, 4vw, 20px);
  margin-top: 20px;
}

.staff-card {
  background: #fff;
  border: 1px solid #e8f4fd;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.staff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(21, 103, 195, 0.12);
}

.staff-image {
  height: clamp(160px, 35vw, 180px);
  overflow: hidden;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.staff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-info {
  padding: clamp(15px, 4vw, 18px);
  text-align: center;
}

.staff-info h4 {
  color: #1567c3;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 8px;
  font-weight: 600;
}

.staff-info .designation {
  color: #27ae60;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.staff-info .qualification {
  color: #f39c12;
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  margin-bottom: 8px;
  background: #fff3cd;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
}

.staff-info .department {
  color: #666;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  margin-bottom: 6px;
}

.staff-info .experience {
  color: #e74c3c;
  font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  font-weight: 600;
}

.admin-card {
  border-left: 4px solid #e74c3c;
}

.admin-card .staff-info h4 {
  color: #e74c3c;
}

.staff-summary {
  background: linear-gradient(135deg, #1567c3, #3498db);
  color: #fff;
  padding: clamp(20px, 5vw, 30px);
  border-radius: 15px;
  text-align: center;
  margin-top: 40px;
}

.staff-summary h4 {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin-bottom: 15px;
}

.staff-summary p {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  line-height: 1.6;
  opacity: 0.95;
}

/* SEARCH FUNCTIONALITY */
.faculty-search {
  max-width: clamp(300px, 80vw, 500px);
  margin: 0 auto 40px auto;
  position: relative;
}

.faculty-search input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 2px solid #e3f2fd;
  border-radius: 25px;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  outline: none;
  transition: border-color 0.3s ease;
}

.faculty-search input:focus {
  border-color: #1567c3;
}

.faculty-search i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #1567c3;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

/* COMPREHENSIVE RESPONSIVE BREAKPOINTS */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .overview-content {
    grid-template-columns: 1fr 400px;
  }
  
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
  }
  
  .timeline-content {
    margin: 0 30px;
  }
}

/* Tablet Large (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
  .hero-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  
  .carousel-main {
    min-width: unset;
    width: 100%;
  }
  
  .sidebar {
    width: 100%;
  }
  
  .announcement-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .tabs-table {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Small (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .top-bar {
    flex-direction: column;
    gap: 15px;
    padding: 20px 4vw;
    text-align: center;
    min-height: auto;
  }
  
  .uni-title {
    margin: 0;
    min-width: auto;
    width: 100%;
  }
  
  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 2vw;
  }
  
  .main-nav li {
    width: 100%;
    max-width: 200px;
  }
  
  .main-nav li a {
    text-align: center;
    width: 100%;
  }
  
  .tabs-nav {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .tab-btn,
  .faculty-tab,
  .staff-tab {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  
  .tabs-table {
    grid-template-columns: 1fr;
  }
  
  .gallery {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .gallery img {
    width: 85vw;
    max-width: 300px;
    height: 200px;
  }
}

/* Mobile (below 576px) */
@media (max-width: 575px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #17549b;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
  .main-nav.mobile-show {
    display: flex;
  }
  
  .main-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .main-nav li:last-child {
    border-bottom: none;
  }
  
  .main-nav li a {
    padding: 15px 20px;
    text-align: left;
  }
  
  .faculty-grid,
  .staff-grid,
  .departments-grid,
  .vmv-grid,
  .leadership-grid,
  .achievements-grid,
  .centers-grid {
    grid-template-columns: 1fr;
  }
  
  .staff-categories {
    grid-template-columns: 1fr;
  }
  
  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* PRINT STYLES */
@media print {
  .mobile-menu-toggle,
  nav,
  .breadcrumb,
  footer,
  .modal-overlay,
  .faculty-tabs,
  .staff-tabs,
  .dept-tabs {
    display: none !important;
  }
  
  .top-bar {
    flex-direction: row;
    padding: 20px;
    background: #fff !important;
    color: #000 !important;
  }
  
  .faculty-content,
  .staff-content,
  .dept-content {
    display: block !important;
  }
  
  .hero-content h1 {
    color: #000;
  }
  
  .page-hero {
    background: #fff;
    color: #000;
  }
  
  * {
    box-shadow: none !important;
  }
  
  .faculty-card,
  .staff-card {
    break-inside: avoid;
    margin-bottom: 20px;
  }
}

/* ACCESSIBILITY STYLES */
*:focus {
  outline: 2px solid #1567c3;
  outline-offset: 2px;
}

.main-nav a:focus {
  outline-color: #ffe672;
}

/* UTILITY CLASSES */
.hide-mobile {
  display: block;
}

.show-mobile {
  display: none;
}

.text-center-mobile {
  text-align: left;
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
  
  .show-mobile {
    display: block !important;
  }
  
  .text-center-mobile {
    text-align: center !important;
  }
}

/* REDUCED MOTION SUPPORT */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .carousel-img:hover,
  .gallery img:hover,
  .logo:hover {
    transform: none;
  }
}

/* DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
  body {
    background: #1a1a1a;
    color: #e0e0e0;
  }
  
  .tabs-section,
  .announcement-row,
  .gallery-row,
  .news-block,
  .faculty-card,
  .staff-card {
    background: #2a2a2a;
  }
  
  .modal-box {
    background: #2a2a2a;
    color: #e0e0e0;
  }
}

/* JAVASCRIPT CLASSES */
.js-mobile-nav-active {
  overflow: hidden;
}

.js-mobile-nav-active .main-nav {
  display: flex !important;
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}
