/* =========================================================
   AGGARWAL COLLEGE - ULTRA PREMIUM REACT-LIKE HEADER SYSTEM
   Works with your current HTML structure
   Author: ChatGPT for Piyush 🔥
========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-cream: #f7f3ec;
  --bg-soft: #f4efe7;
  --card: rgba(255, 255, 255, 0.88);
  --card-strong: rgba(255, 255, 255, 0.95);
  --white: #ffffff;
  --text: #1f1720;
  --text-soft: #5d4c54;
  --maroon-900: #4d0718;
  --maroon-800: #651024;
  --maroon-700: #7d1730;
  --maroon-600: #952244;
  --gold-500: #d6b16d;
  --gold-400: #e6c98f;
  --gold-300: #f4ddb3;
  --line: rgba(91, 20, 39, 0.1);

  --shadow-xs: 0 4px 14px rgba(59, 15, 28, 0.06);
  --shadow-sm: 0 10px 30px rgba(59, 15, 28, 0.1);
  --shadow-md: 0 16px 40px rgba(59, 15, 28, 0.14);
  --shadow-lg: 0 22px 60px rgba(59, 15, 28, 0.18);
  --shadow-xl: 0 30px 80px rgba(59, 15, 28, 0.24);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;

  --blur: blur(18px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(214, 177, 109, 0.05), transparent 22%),
    radial-gradient(circle at 90% 10%, rgba(125, 23, 48, 0.05), transparent 20%),
    linear-gradient(180deg, #fffaf7 0%, #f7f2ea 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

/* =========================================================
   MOBILE OVERLAY + DRAWER
========================================================= */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 8, 10, 0.52);
  backdrop-filter: blur(6px);
  z-index: 9999998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(92vw, 390px);
  height: 100vh;
  z-index: 9999999;
  background:
    linear-gradient(180deg, rgba(77, 7, 24, 0.98) 0%, rgba(101, 16, 36, 0.98) 45%, rgba(125, 23, 48, 0.98) 100%);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.28);
  transition: right 0.42s var(--ease);
  overflow-y: auto;
  padding: 20px 16px 28px;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-drawer-title {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.mobile-close {
  width: 44px;
  height: 44px;
  border: 0;
  outline: none;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s var(--ease);
}

.mobile-close:hover {
  background: rgba(255,255,255,0.14);
  transform: scale(1.05);
}

.mobile-menu-list {
  display: grid;
  gap: 12px;
}

.mobile-menu-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.mobile-menu-link,
.mobile-accordion-btn {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.mobile-menu-link span,
.mobile-accordion-btn span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-link i:first-child,
.mobile-accordion-btn span i {
  color: #f8dca8;
  width: 18px;
  text-align: center;
}

.mobile-submenu {
  display: none;
  padding: 0 12px 12px;
}

.mobile-menu-item.active .mobile-submenu {
  display: block;
  animation: fadeUp 0.35s var(--ease);
}

.mobile-menu-item.active .fa-chevron-down {
  transform: rotate(180deg);
}

.mobile-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.04);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}

.mobile-submenu a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(4px);
}

.mobile-submenu a i {
  color: #f4ddb3;
  width: 16px;
  text-align: center;
}

/* =========================================================
   TOP PREMIUM QUICK ACCESS BAR
========================================================= */
.premium-header-menu {
  position: relative;
  z-index: 99999;
  width: 100%;
  overflow: visible !important;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.06), transparent 22%),
    radial-gradient(circle at 85% 10%, rgba(214,177,109,0.10), transparent 18%),
    linear-gradient(135deg, #4d0718 0%, #651024 42%, #7d1730 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 40px rgba(77, 7, 24, 0.18);
}

.premium-header-menu::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}

.header-menu-container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 12px 18px;
  position: relative;
  overflow: visible !important;
}

.header-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  overflow: visible !important;
}

.header-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-brand-text h2 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.desktop-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  overflow: visible !important;
}

.nav-item {
  position: relative;
  overflow: visible !important;
}

.nav-link,
.dropdown-toggle {
  border: 0;
  outline: none;
  cursor: pointer;
  appearance: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 11px 16px;
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.96);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transition: all 0.35s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.nav-link i,
.dropdown-toggle i {
  font-size: 0.78rem;
}

.nav-link:hover,
.dropdown-toggle:hover,
.nav-item.active .dropdown-toggle {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.94);
  color: var(--maroon-800);
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.dropdown-toggle .fa-chevron-down {
  transition: transform 0.3s var(--ease);
}

.nav-item.active .dropdown-toggle .fa-chevron-down {
  transform: rotate(180deg);
}

.highlight-btn {
  background: linear-gradient(135deg, #d6b16d, #f4ddb3);
  color: #4d0718 !important;
  border-color: rgba(214,177,109,0.4);
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(214,177,109,0.16);
}

.highlight-btn:hover {
  background: linear-gradient(135deg, #f7e6bf, #fff2d2);
  color: #4d0718 !important;
}

/* TOP DROPDOWNS - React like floating panel */
.premium-header-menu .dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 320px;
  max-width: 410px;
  max-height: 72vh;
  overflow-y: auto;
  display: none;
  padding: 14px;
  border-radius: 22px;
  background: rgba(83, 14, 30, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.06);
  z-index: 9999999 !important;
  animation: premiumDrop 0.28s var(--ease);
}

.premium-header-menu .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 26px;
  width: 16px;
  height: 16px;
  background: rgba(83, 14, 30, 0.92);
  transform: rotate(45deg);
  border-left: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.premium-header-menu .dropdown-menu.right-align {
  left: auto;
  right: 0;
}

.premium-header-menu .dropdown-menu.right-align::before {
  left: auto;
  right: 26px;
}

.premium-header-menu .nav-item.active .dropdown-menu {
  display: grid;
  gap: 8px;
}

.premium-header-menu .dropdown-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 14px;
  color: rgba(255,255,255,0.96);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.04);
  font-size: 0.83rem;
  font-weight: 500;
  transition: all 0.28s var(--ease);
}

.premium-header-menu .dropdown-menu a i {
  width: 18px;
  text-align: center;
  color: #f4ddb3;
}

.premium-header-menu .dropdown-menu a:hover {
  transform: translateX(5px);
  background: rgba(255,255,255,0.94);
  color: var(--maroon-800);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.premium-header-menu .dropdown-menu a:hover i {
  color: var(--maroon-800);
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  outline: none;
  cursor: pointer;
  border-radius: 16px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
}

.mobile-toggle:hover {
  background: rgba(255,255,255,0.14);
  transform: scale(1.03);
}

/* =========================================================
   PREMIUM BRANDING SECTION
========================================================= */
.premium-branding {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 18px 18px;
  overflow: visible !important;
  background:
    radial-gradient(circle at 10% 10%, rgba(214,177,109,0.07), transparent 22%),
    radial-gradient(circle at 90% 15%, rgba(125,23,48,0.05), transparent 18%),
    linear-gradient(180deg, #fbf8f3 0%, #f5efe6 100%);
  border-bottom: 1px solid rgba(77,7,24,0.08);
}

.branding-container {
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px 1fr 220px;
  align-items: center;
  gap: 20px;
}

/* Logo */
.branding-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.branding-logo-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
}

.branding-logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125,23,48,0.10), transparent 65%);
  filter: blur(8px);
  animation: glowPulse 4s ease-in-out infinite;
}

.branding-logo-box {
  position: relative;
  z-index: 2;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 10px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(77,7,24,0.08);
  box-shadow:
    0 20px 40px rgba(77,7,24,0.08),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transition: all 0.4s var(--ease);
}

.branding-logo-box:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 26px 50px rgba(77,7,24,0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.college-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

/* Center */
.branding-center {
  text-align: center;
}

.college-mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7d1730, #4d0718);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(77,7,24,0.14);
}

.college-main-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.6px;
  color: #5c0a1c;
  margin-bottom: 10px;
  text-shadow: 0 2px 0 rgba(255,255,255,0.45);
}

.college-info-lines {
  max-width: 900px;
  margin: 0 auto;
}

.college-sub-line {
  font-size: 0.96rem;
  line-height: 1.48;
  color: #38252b;
  font-weight: 600;
  letter-spacing: 0.1px;
}

/* Right side */
.social-side-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.social-icon-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  transition: all 0.35s var(--ease);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.social-icon-btn:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

.instagram-btn {
  background: linear-gradient(135deg, #d62976, #962fbf, #4f5bd5);
}

.facebook-btn {
  background: linear-gradient(135deg, #1877f2, #0d5dd5);
}

.youtube-btn {
  background: linear-gradient(135deg, #ff0000, #ca0000);
}

.erp-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 180px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7d1730, #4d0718);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(77,7,24,0.16);
  transition: all 0.35s var(--ease);
}

.erp-login-btn i {
  color: #f4ddb3;
}

.erp-login-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(77,7,24,0.22);
}

/* =========================================================
   MAIN LOWER NAVBAR - REACT STYLE
========================================================= */
.ac-navbar {
  position: relative;
  z-index: 20;
  width: 100%;
  overflow: visible !important;
  background:
    linear-gradient(90deg, rgba(122,0,0,0.96) 0%, rgba(152,0,0,0.96) 48%, rgba(122,0,0,0.96) 100%);
  backdrop-filter: blur(18px);
  box-shadow:
    0 14px 34px rgba(122, 0, 0, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ac-navbar__inner {
  max-width: 1520px;
  margin: 0 auto;
  min-height: 74px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  overflow: visible !important;
}

.ac-navbar__brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.ac-navbar__brand-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ac-navbar__menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  list-style: none;
  position: relative;
  overflow: visible !important;
}

.ac-nav-item {
  position: relative;
  overflow: visible !important;
}

.ac-nav-link,
.ac-drop-btn {
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.15px;
  transition: all 0.32s var(--ease);
  white-space: nowrap;
}

.ac-nav-link:hover,
.ac-drop-btn:hover,
.ac-nav-item.active > .ac-drop-btn {
  background: rgba(255,255,255,0.12);
  color: #fff3df;
}

.ac-arrow {
  font-size: 0.76rem;
  transition: transform 0.3s var(--ease);
}

.ac-nav-item.active > .ac-drop-btn .ac-arrow {
  transform: rotate(180deg);
}

/* Lower dropdown */
.ac-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 300px;
  max-width: 390px;
  max-height: 74vh;
  overflow-y: auto;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(91, 20, 39, 0.08);
  box-shadow:
    0 24px 60px rgba(27, 14, 18, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.98);
  pointer-events: none;
  transition: all 0.28s var(--ease);
  z-index: 300;
}

.ac-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 24px;
  width: 16px;
  height: 16px;
  background: rgba(255,255,255,0.92);
  transform: rotate(45deg);
  border-left: 1px solid rgba(91,20,39,0.06);
  border-top: 1px solid rgba(91,20,39,0.06);
}

.ac-dropdown-menu--right {
  left: auto;
  right: 0;
}

.ac-dropdown-menu--right::before {
  left: auto;
  right: 24px;
}

.ac-dropdown-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2a1b20;
  transition: all 0.25s var(--ease);
  line-height: 1.42;
}

.ac-dropdown-menu a:hover {
  background: linear-gradient(135deg, rgba(125,23,48,0.08), rgba(214,177,109,0.10));
  color: #7d1730;
  transform: translateX(4px);
}

.ac-dropdown-menu hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,20,39,0.12), transparent);
  margin: 8px 0;
}

.ac-nav-item.active > .ac-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* desktop hover support */
@media (min-width: 1025px) {
  .ac-dropdown:hover > .ac-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .ac-dropdown:hover > .ac-drop-btn .ac-arrow {
    transform: rotate(180deg);
  }
}

/* Mobile lower nav */
.ac-mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  outline: none;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.08);
}

.ac-mobile-toggle span {
  width: 22px;
  height: 2.5px;
  background: #fff;
  border-radius: 999px;
  display: block;
}

.ac-mobile-menu {
  display: none;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  padding: 12px;
  border-top: 1px solid rgba(91,20,39,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.ac-mobile-menu.active {
  display: block;
  animation: fadeUp 0.35s var(--ease);
}

.ac-mobile-link,
.ac-mobile-drop-btn {
  width: 100%;
  border: 0;
  outline: none;
  cursor: pointer;
  margin-bottom: 8px;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(91,20,39,0.06);
  color: #23171b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(59,15,28,0.04);
}

.ac-mobile-submenu {
  display: none;
  padding-bottom: 8px;
}

.ac-mobile-submenu.active {
  display: block;
}

.ac-mobile-submenu a {
  display: block;
  margin: 6px 0 6px 10px;
  padding: 11px 12px;
  border-radius: 12px;
  border-left: 3px solid #7d1730;
  background: rgba(125,23,48,0.04);
  color: #342127;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}

.ac-mobile-submenu a:hover {
  background: rgba(125,23,48,0.08);
  transform: translateX(4px);
}

/* =========================================================
   CUSTOM SCROLLBAR (premium feel)
========================================================= */
.premium-header-menu .dropdown-menu::-webkit-scrollbar,
.ac-dropdown-menu::-webkit-scrollbar,
.mobile-drawer::-webkit-scrollbar {
  width: 8px;
}

.premium-header-menu .dropdown-menu::-webkit-scrollbar-track,
.ac-dropdown-menu::-webkit-scrollbar-track,
.mobile-drawer::-webkit-scrollbar-track {
  background: transparent;
}

.premium-header-menu .dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
}

.ac-dropdown-menu::-webkit-scrollbar-thumb,
.mobile-drawer::-webkit-scrollbar-thumb {
  background: rgba(125,23,48,0.18);
  border-radius: 999px;
}

/* =========================================================
   ANIMATIONS
========================================================= */
.fa-chevron-down {
  transition: transform 0.3s var(--ease);
}

@keyframes premiumDrop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1380px) {
  .header-brand-text h2 {
    font-size: 1.55rem;
  }

  .nav-link,
  .dropdown-toggle {
    padding: 10px 14px;
    font-size: 0.76rem;
  }

  .desktop-nav {
    gap: 8px;
  }

  .ac-nav-link,
  .ac-drop-btn {
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .ac-navbar__brand-text {
    font-size: 0.9rem;
  }

  .branding-container {
    grid-template-columns: 150px 1fr 190px;
  }

  .branding-logo-wrap {
    width: 130px;
    height: 130px;
  }

  .branding-logo-box {
    width: 112px;
    height: 112px;
  }

  .college-sub-line {
    font-size: 0.85rem;
  }
}

@media (max-width: 1180px) {
  .nav-link,
  .dropdown-toggle {
    padding: 10px 12px;
    font-size: 0.72rem;
  }

  .desktop-nav {
    gap: 6px;
  }

  .header-brand-text h2 {
    font-size: 1.35rem;
  }

  .ac-nav-link,
  .ac-drop-btn {
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .ac-navbar__brand-text {
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: grid;
    place-items: center;
  }

  .ac-navbar__menu {
    display: none;
  }

  .ac-mobile-toggle {
    display: flex;
  }

  .branding-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .branding-left,
  .branding-center,
  .branding-right {
    justify-content: center;
  }

  .branding-left {
    order: 1;
  }

  .branding-center {
    order: 2;
  }

  .branding-right {
    order: 3;
  }

  .social-side-panel {
    align-items: center;
  }

  .ac-navbar__inner {
    min-height: 66px;
  }
}

@media (max-width: 768px) {
  .header-menu-container {
    padding: 12px 12px;
  }

  .header-brand-text h2 {
    font-size: 1.15rem;
  }

  .premium-branding {
    padding: 16px 12px;
  }

  .branding-logo-wrap {
    width: 112px;
    height: 112px;
  }

  .branding-logo-box {
    width: 96px;
    height: 96px;
    padding: 8px;
  }

  .college-mini-badge {
    font-size: 0.58rem;
    padding: 5px 12px;
  }

  .college-main-title {
    font-size: 1.45rem;
    line-height: 1.22;
    padding: 0 4px;
  }

  .college-sub-line {
    font-size: 0.72rem;
    line-height: 1.42;
    padding: 0 6px;
  }

  .social-icon-btn {
    width: 40px;
    height: 40px;
    font-size: 0.88rem;
  }

  .erp-login-btn {
    min-width: 150px;
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  .ac-navbar__inner {
    padding: 0 12px;
  }

  .ac-navbar__brand-text {
    font-size: 0.76rem;
    letter-spacing: 0.7px;
  }
}

@media (max-width: 520px) {
  .header-brand-text h2 {
    font-size: 1rem;
  }

  .branding-logo-wrap {
    width: 98px;
    height: 98px;
  }

  .branding-logo-box {
    width: 84px;
    height: 84px;
  }

  .college-main-title {
    font-size: 1.15rem;
  }

  .college-sub-line {
    font-size: 0.64rem;
  }

  .social-icon-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .erp-login-btn {
    min-width: 136px;
    font-size: 0.74rem;
    padding: 9px 12px;
  }

  .ac-navbar__brand-text {
    font-size: 0.68rem;
  }

  .ac-mobile-link,
  .ac-mobile-drop-btn {
    font-size: 0.86rem;
    padding: 12px 12px;
  }

  .ac-mobile-submenu a {
    font-size: 0.78rem;
    padding: 10px 10px;
  }

  .mobile-drawer-title {
    font-size: 0.96rem;
  }

  .mobile-menu-link,
  .mobile-accordion-btn {
    font-size: 0.84rem;
    padding: 13px 13px;
  }

  .mobile-submenu a {
    font-size: 0.76rem;
    padding: 10px 10px;
  }
}

/* =========================================================
   ULTRA PREMIUM DESKTOP UPGRADE PATCH
   Paste at END of existing header.css
   Makes it look more React / SaaS / Premium UI
========================================================= */

:root {
  --premium-glass: rgba(255, 255, 255, 0.10);
  --premium-glass-2: rgba(255, 255, 255, 0.16);
  --premium-border: rgba(255, 255, 255, 0.12);
  --premium-shadow: 0 18px 50px rgba(45, 10, 20, 0.16);
  --premium-shadow-hover: 0 28px 65px rgba(45, 10, 20, 0.24);
  --premium-text-glow: 0 2px 18px rgba(255, 255, 255, 0.08);
}

/* =========================================================
   TOP HEADER ENHANCED PREMIUM LOOK
========================================================= */
@media (min-width: 1025px) {
  .premium-header-menu {
    background:
      radial-gradient(circle at 8% 18%, rgba(255,255,255,0.06), transparent 18%),
      radial-gradient(circle at 88% 12%, rgba(214,177,109,0.10), transparent 18%),
      linear-gradient(135deg, #430614 0%, #5b0d20 35%, #75162c 70%, #8a2140 100%);
    box-shadow:
      0 18px 40px rgba(77, 7, 24, 0.18),
      inset 0 1px 0 rgba(255,255,255,0.04);
  }

  .header-menu-container {
    max-width: 1620px;
    padding: 14px 26px;
  }

  .header-menu-top {
    gap: 26px;
  }

  .header-brand-text h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    text-shadow: var(--premium-text-glow);
    position: relative;
  }

  .header-brand-text h2::after {
    content: "";
    display: block;
    width: 68%;
    height: 3px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-500), transparent);
    opacity: 0.9;
  }

  .desktop-nav {
    gap: 12px;
  }

  .nav-item {
    position: relative;
  }

  .nav-link,
  .dropdown-toggle {
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.15px;
    background: linear-gradient(
      135deg,
      rgba(255,255,255,0.10),
      rgba(255,255,255,0.05)
    );
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.05),
      0 6px 16px rgba(0,0,0,0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
  }

  /* Shine effect */
  .nav-link::before,
  .dropdown-toggle::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.14),
      transparent
    );
    transform: skewX(-20deg);
    transition: left 0.65s ease;
    pointer-events: none;
  }

  .nav-link:hover::before,
  .dropdown-toggle:hover::before,
  .nav-item.active .dropdown-toggle::before {
    left: 130%;
  }

  .nav-link:hover,
  .dropdown-toggle:hover,
  .nav-item.active .dropdown-toggle {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,250,252,0.92));
    color: var(--maroon-800);
    border-color: rgba(255,255,255,0.25);
    box-shadow: var(--premium-shadow-hover);
  }

  .highlight-btn {
    background: linear-gradient(135deg, #d6b16d 0%, #f4ddb3 100%);
    color: #4d0718 !important;
    border: 1px solid rgba(214,177,109,0.34);
    box-shadow:
      0 14px 28px rgba(214,177,109,0.16),
      inset 0 1px 0 rgba(255,255,255,0.35);
  }

  .highlight-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
      0 22px 40px rgba(214,177,109,0.22),
      inset 0 1px 0 rgba(255,255,255,0.45);
  }

  /* Top dropdown ultra premium */
  .premium-header-menu .dropdown-menu {
    min-width: 340px;
    max-width: 430px;
    padding: 16px;
    border-radius: 24px;
    background:
      linear-gradient(
        180deg,
        rgba(76, 10, 24, 0.88),
        rgba(97, 14, 31, 0.90)
      );
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
      0 30px 80px rgba(0,0,0,0.26),
      0 10px 24px rgba(77,7,24,0.18),
      inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(22px);
  }

  .premium-header-menu .dropdown-menu a {
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 0.84rem;
    font-weight: 500;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .premium-header-menu .dropdown-menu a:hover {
    transform: translateX(6px) scale(1.01);
    background: rgba(255,255,255,0.95);
    color: var(--maroon-800);
    box-shadow: 0 14px 26px rgba(0,0,0,0.12);
  }

  /* =========================================================
     BRANDING SECTION DESKTOP UPGRADE
  ======================================================== */
  .premium-branding {
    padding: 22px 26px;
    background:
      radial-gradient(circle at 12% 12%, rgba(214,177,109,0.08), transparent 20%),
      radial-gradient(circle at 88% 10%, rgba(125,23,48,0.05), transparent 18%),
      linear-gradient(180deg, #fffaf5 0%, #f7f0e6 100%);
  }

  .branding-container {
    max-width: 1620px;
    grid-template-columns: 190px 1fr 250px;
    gap: 28px;
  }

  .branding-logo-wrap {
    width: 165px;
    height: 165px;
  }

  .branding-logo-box {
    width: 142px;
    height: 142px;
    border-radius: 50%;
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(18px);
    box-shadow:
      0 24px 55px rgba(77,7,24,0.10),
      inset 0 1px 0 rgba(255,255,255,0.85);
  }

  .branding-logo-box:hover {
    transform: translateY(-6px) scale(1.035) rotate(1deg);
  }

  .college-mini-badge {
    padding: 7px 18px;
    font-size: 0.7rem;
    letter-spacing: 1.2px;
    border: 1px solid rgba(255,255,255,0.08);
  }

  .college-main-title {
    font-size: clamp(2.4rem, 3.2vw, 3.7rem);
    margin-bottom: 12px;
    letter-spacing: -0.8px;
    position: relative;
  }

  .college-main-title::after {
    content: "";
    display: block;
    width: min(240px, 36%);
    height: 4px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #d6b16d, transparent);
    opacity: 0.95;
  }

  .college-sub-line {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #3c2a2f;
  }

  .social-side-panel {
    gap: 16px;
  }

  .social-icon-group {
    gap: 12px;
  }

  .social-icon-btn {
    width: 52px;
    height: 52px;
    font-size: 1.05rem;
    box-shadow:
      0 14px 30px rgba(0,0,0,0.12),
      inset 0 1px 0 rgba(255,255,255,0.18);
  }

  .erp-login-btn {
    min-width: 190px;
    padding: 13px 20px;
    font-size: 0.94rem;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow:
      0 18px 34px rgba(77,7,24,0.16),
      inset 0 1px 0 rgba(255,255,255,0.05);
  }

  /* =========================================================
     LOWER NAVBAR ULTRA PREMIUM
  ======================================================== */
  .ac-navbar {
    background:
      linear-gradient(
        90deg,
        rgba(118, 0, 0, 0.96) 0%,
        rgba(145, 0, 0, 0.96) 30%,
        rgba(170, 8, 8, 0.95) 50%,
        rgba(145, 0, 0, 0.96) 70%,
        rgba(118, 0, 0, 0.96) 100%
      );
    box-shadow:
      0 16px 34px rgba(122, 0, 0, 0.14),
      inset 0 1px 0 rgba(255,255,255,0.04);
  }

  .ac-navbar__inner {
    max-width: 1620px;
    min-height: 78px;
    padding: 0 24px;
    gap: 18px;
  }

  .ac-navbar__brand-text {
    font-size: 1.02rem;
    letter-spacing: 1.4px;
    position: relative;
  }

  .ac-navbar__brand-text::after {
    content: "";
    display: block;
    width: 70%;
    height: 3px;
    margin-top: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-500), transparent);
    opacity: 0.9;
  }

  .ac-navbar__menu {
    gap: 6px;
  }

  .ac-nav-link,
  .ac-drop-btn {
    min-height: 50px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
  }

  .ac-nav-link::before,
  .ac-drop-btn::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f4ddb3, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
    opacity: 0.9;
  }

  .ac-nav-link:hover::before,
  .ac-drop-btn:hover::before,
  .ac-nav-item.active > .ac-drop-btn::before {
    transform: scaleX(1);
  }

  .ac-nav-link:hover,
  .ac-drop-btn:hover,
  .ac-nav-item.active > .ac-drop-btn {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.11);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  }

  /* Lower dropdown premium floating card */
  .ac-dropdown-menu {
    min-width: 320px;
    max-width: 410px;
    padding: 14px;
    border-radius: 22px;
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,0.90),
        rgba(255,255,255,0.82)
      );
    border: 1px solid rgba(91,20,39,0.08);
    box-shadow:
      0 28px 70px rgba(20, 10, 14, 0.16),
      0 10px 24px rgba(77,7,24,0.08),
      inset 0 1px 0 rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .ac-dropdown-menu a {
    padding: 12px 13px;
    border-radius: 13px;
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .ac-dropdown-menu a:hover {
    transform: translateX(6px);
    background:
      linear-gradient(
        135deg,
        rgba(125,23,48,0.08),
        rgba(214,177,109,0.10)
      );
    color: #7d1730;
    box-shadow: 0 10px 22px rgba(77,7,24,0.05);
  }
}

/* =========================================================
   EXTRA MICRO INTERACTIONS
========================================================= */
.nav-link,
.dropdown-toggle,
.ac-nav-link,
.ac-drop-btn,
.social-icon-btn,
.erp-login-btn,
.branding-logo-box {
  will-change: transform;
}

/* Slight floating motion for desktop logo */
@media (min-width: 1025px) {
  .branding-logo-wrap {
    animation: subtleFloat 4.8s ease-in-out infinite;
  }
}

@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}










