/*
 * ULTRA-MODERN HEADER & FOOTER LAYOUT (2025)
 * Complete redesign with new structure
 * Optimized for all screen sizes including 1264px
 */

/* ==========================================
   ULTRA-MODERN HEADER
   ========================================== */

.ultra-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
}

/* Header Top Bar */
.header-top {
  background: linear-gradient(135deg, #0066cc 0%, #00bfa6 100%);
  padding: 0.625rem 0;
  transition: all 0.4s ease;
}

.header-top.scrolled {
  transform: translateY(-100%);
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-contact-items {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-item:hover {
  color: #fff;
  transform: translateX(3px);
}

.contact-item i {
  font-size: 1.1rem;
}

.header-social-links {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.social-link:hover {
  background: #fff;
  color: #0066cc;
  transform: translateY(-3px);
}

/* Main Navigation */
.header-nav {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

.header-nav.scrolled {
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

/* Logo/Brand */
.nav-brand {
  flex-shrink: 0;
}

.nav-brand a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-brand a:hover {
  transform: translateY(-2px);
}

.brand-logo {
  height: 60px;
  width: auto;
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.2;
  background: linear-gradient(135deg, #1a1a2e, #0066cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-text p {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.938rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: linear-gradient(135deg, #0066cc, #00bfa6);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: #0066cc;
  background: rgba(0,102,204,0.08);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 0.75rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background: linear-gradient(135deg, rgba(0,102,204,0.1), rgba(0,191,166,0.1));
  color: #0066cc;
  padding-left: 1.5rem;
}

/* Mega Dropdown for Departments */
.mega-dropdown {
  min-width: 700px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 1.5rem;
}

.dropdown-section {
  padding: 0.75rem;
  border-right: 1px solid rgba(0,0,0,0.08);
}

.dropdown-section:last-child {
  border-right: none;
}

.dropdown-section h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0066cc;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0,102,204,0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-section a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.dropdown-section a i {
  font-size: 1rem;
  color: #00bfa6;
  transition: transform 0.3s ease;
}

.dropdown-section a:hover i {
  transform: translateX(3px);
}

@media (max-width: 1280px) {
  .mega-dropdown {
    min-width: 600px;
    grid-template-columns: repeat(3, 1fr);
  }

  .dropdown-section:nth-child(3),
  .dropdown-section:nth-child(4) {
    border-right: none;
  }
}

/* Apply Button */
.apply-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, #0066cc, #00bfa6);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.938rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,102,204,0.3);
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,102,204,0.5);
  color: #fff;
}

.apply-btn i {
  transition: transform 0.3s ease;
}

.apply-btn:hover i {
  transform: translateX(5px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 10001;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Adjust body padding for fixed header */
body {
  padding-top: 108px;
}

/* ==========================================
   ULTRA-MODERN FOOTER
   ========================================== */

.ultra-footer {
  background: linear-gradient(180deg, #0a0e14 0%, #1a1f2e 50%, #0f1419 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ultra-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,102,204,0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,191,166,0.12), transparent 50%);
  pointer-events: none;
}

.ultra-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0066cc, #00bfa6, transparent);
}

.footer-main {
  padding: 4rem 0 3rem;
  position: relative;
  z-index: 1;
}

.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
  position: relative;
  padding-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #0066cc, #00bfa6);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,191,166,0.3);
}

/* Brand Column */
.footer-brand .brand-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-brand .brand-logo-wrapper img {
  height: 60px;
  width: auto;
}

.footer-brand .brand-logo-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.25rem 0;
  color: #fff;
}

.footer-brand .brand-logo-wrapper span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-brand p {
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 0.938rem;
  font-weight: 400;
}

.footer-social-media {
  display: flex;
  gap: 0.625rem;
}

.footer-social-media a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.footer-social-media a:hover {
  background: linear-gradient(135deg, #0066cc, #00bfa6);
  border-color: transparent;
  transform: translateY(-5px) rotate(5deg);
}

/* Footer Links */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.938rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col ul li a::before {
  content: "→";
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: #00bfa6;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 1rem;
}

.footer-col ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Info */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
}

.info-item i {
  font-size: 1.25rem;
  color: #00bfa6;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.info-item p,
.info-item a {
  color: inherit;
  margin: 0;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: #fff;
}

/* Newsletter */
.footer-newsletter-col p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
  font-size: 0.938rem;
}

.newsletter-form-new .input-wrapper {
  display: flex;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  padding: 0.375rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}

.newsletter-form-new .input-wrapper:focus-within {
  border-color: #00bfa6;
  background: rgba(255,255,255,0.12);
}

.newsletter-form-new input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.938rem;
  outline: none;
}

.newsletter-form-new input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form-new button {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #0066cc, #00bfa6);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.newsletter-form-new button:hover {
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 5px 20px rgba(0,102,204,0.4);
}

/* Footer Bottom */
.footer-bottom-new {
  background: rgba(0,0,0,0.4);
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}

.bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2rem;
}

.bottom-content p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.938rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #0066cc, #00bfa6);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links span {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  margin: 0 0.125rem;
  line-height: 1;
}

/* ==========================================
   RESPONSIVE DESIGN - ALL SCREENS
   ========================================== */

/* Large Screens (1400px+) */
@media (min-width: 1400px) {
  .container-fluid {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 2rem;
  }
}

/* Desktop (1200px - 1400px) */
@media (max-width: 1399px) {
  .container-fluid {
    padding: 0 2rem;
  }

  .footer-layout {
    gap: 2.5rem;
  }
}

/* Medium Desktop - FIX FOR 1264px */
@media (max-width: 1280px) {
  .nav-menu {
    gap: 0;
  }

  .nav-menu > li > a {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .apply-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .brand-text h1 {
    font-size: 1.125rem;
  }

  .brand-text p {
    font-size: 0.7rem;
  }
}

/* Laptop (992px - 1199px) */
@media (max-width: 1199px) {
  .nav-menu > li > a {
    padding: 0.75rem 0.875rem;
    font-size: 0.813rem;
  }

  .footer-layout {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
  }

  .footer-newsletter-col {
    grid-column: 1 / -1;
  }
}

/* Tablet & Mobile (< 992px) */
@media (max-width: 991px) {
  body {
    padding-top: 60px;
  }

  .header-top {
    display: none;
  }

  .nav-wrapper {
    padding: 0.75rem 0;
  }

  .brand-logo {
    height: 50px;
  }

  .brand-text {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    justify-content: flex-start;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .nav-menu > li > a {
    width: 100%;
    padding: 1rem;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,102,204,0.05);
    margin-top: 0.5rem;
    display: none;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .apply-btn {
    margin-top: 1rem;
    justify-content: center;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-newsletter-col {
    grid-column: auto;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .container-fluid {
    padding: 0 1rem;
  }

  .header-contact-items {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .contact-item {
    font-size: 0.813rem;
  }

  .contact-item:nth-child(3) {
    display: none;
  }

  .footer-main {
    padding: 3rem 0 2rem;
  }

  .bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-links {
    justify-content: center;
    gap: 0.5rem;
  }

  .footer-links a {
    font-size: 0.75rem;
  }

  .footer-bottom-new {
    padding: 1.5rem 0;
  }

  .bottom-content p {
    font-size: 0.813rem;
  }

  .footer-links span {
    font-size: 0.625rem;
  }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {
  body {
    padding-top: 56px;
  }

  .nav-wrapper {
    padding: 0.625rem 0;
  }

  .brand-logo {
    height: 42px;
  }

  .nav-menu {
    top: 56px;
    padding: 1.5rem 1rem;
  }

  .apply-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.813rem;
  }

  .footer-social-media a {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links span {
    display: none;
  }
}

/* ==========================================
   FACULTY APPLICATION MODAL
   ========================================== */

.faculty-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.faculty-modal-content {
  background: #fff;
  max-width: 540px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 102, 204, 0.4);
  overflow: hidden;
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  border: 2px solid rgba(0, 102, 204, 0.1);
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.faculty-modal .modal-header {
  background: linear-gradient(135deg, #0066cc, #00bfa6);
  color: #fff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
}

.faculty-modal .modal-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faculty-modal .modal-header h3 i {
  font-size: 1.25rem;
}

.modal-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.faculty-modal .modal-body {
  padding: 3rem 2rem;
  text-align: center;
}

.pdf-icon {
  margin: 0 auto 1.5rem;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #0066cc, #00bfa6);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
  position: relative;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.pdf-icon i {
  font-size: 4rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.faculty-modal .modal-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0066cc, #00bfa6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.faculty-modal .modal-body p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 0.938rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
}

.modal-btn i {
  font-size: 1.25rem;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #0066cc, #00bfa6);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
  position: relative;
  overflow: hidden;
}

.modal-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.modal-btn-primary:hover::before {
  left: 100%;
}

.modal-btn-primary:hover {
  background: linear-gradient(135deg, #0052a3, #00a085);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.5);
  color: #fff;
}

.modal-btn-secondary {
  background: linear-gradient(135deg, #00bfa6, #0066cc);
  box-shadow: 0 4px 15px rgba(0, 191, 166, 0.4);
  position: relative;
  overflow: hidden;
}

.modal-btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.modal-btn-secondary:hover::before {
  left: 100%;
}

.modal-btn-secondary:hover {
  background: linear-gradient(135deg, #00a085, #0052a3);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 191, 166, 0.5);
  color: #fff;
}

.faculty-modal .modal-footer {
  background: #f8f9fa;
  padding: 1.25rem 2rem;
  text-align: center;
  border-top: 1px solid #e9ecef;
}

.btn-close-modal {
  background: linear-gradient(135deg, #6c757d, #5a6268);
  color: #fff;
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 8px;
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-close-modal:hover {
  background: linear-gradient(135deg, #5a6268, #495057);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(108, 117, 125, 0.4);
}

/* Mobile Responsive */
@media (max-width: 575px) {
  .faculty-modal-content {
    max-width: 95%;
  }

  .faculty-modal .modal-header {
    padding: 1.25rem 1.5rem;
  }

  .faculty-modal .modal-header h3 {
    font-size: 0.875rem;
  }

  .faculty-modal .modal-body {
    padding: 2rem 1.5rem;
  }

  .faculty-modal .modal-body h2 {
    font-size: 1.25rem;
  }

  .pdf-icon {
    width: 80px;
    height: 80px;
  }

  .pdf-icon i {
    font-size: 2.5rem;
  }

  .modal-btn {
    font-size: 0.813rem;
    padding: 0.875rem 1.5rem;
  }
}
