/* GNIET - All Pages Combined CSS */

/* Import hero standardization */
@import url("hero-standardization.css");

:root {
  --primary-color: #1e40af;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --primary: #1e40af;
  --secondary: #ffffff;
  --accent: #f9fafb;
  --primary-gradient: linear-gradient(135deg, #1e40af 0%, #1e40af 100%);
  --secondary-gradient: linear-gradient(135deg, #1e40af 0%, #1e40af 100%);
  --accent-color: #1e40af;
  --text-dark: #1e40af;
  --bg-light: #f9fafb;
}

/* Font Awesome Critical Styles */
.fas {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.fab {
  font-family: "Font Awesome 6 Brands";
}
.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}
.animate__fadeInUp {
  animation-name: fadeInUp;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Base Styles */
* {
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

.fa,
.fas,
.far,
.fab,
.fal,
.fad {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

body,
html {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  font-size: 14px;
  overflow-x: hidden;
}

/* Scrollbar fix to prevent layout shift */
html {
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
}

/* Ensure consistent layout */
body {
  margin: 0;
  padding: 0;
}

/* Creative Section Backgrounds */
.section-bg-1 {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.section-bg-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(0, 51, 102, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(200, 16, 46, 0.03) 0%,
      transparent 50%
    );
  z-index: 1;
}

.section-bg-2 {
  background: linear-gradient(45deg, #ffffff 0%, #f9fafb 100%);
  position: relative;
}

.section-bg-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      90deg,
      rgba(0, 51, 102, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(0, 51, 102, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}

.section-bg-3 {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #f8fafc 100%);
  position: relative;
}

.section-bg-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle at 30% 70%,
    rgba(0, 51, 102, 0.02) 0%,
    transparent 50%
  );
  z-index: 1;
}

.section-bg-4 {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.section-bg-4::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(200, 16, 46, 0.05) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
  z-index: 1;
}

/* Ensure content is above background patterns */
.section-bg-1 .container,
.section-bg-2 .container,
.section-bg-3 .container,
.section-bg-4 .container {
  position: relative;
  z-index: 2;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Removed global font overrides to maintain header consistency */
/* Header styling now controlled by includes/header.php only */

.card-title {
  font-weight: 600;
}

.card-text {
  font-weight: 500;
}

.container {
  padding-left: 10px;
  padding-right: 10px;
  max-width: 100%;
  overflow-x: hidden;
}

.hero-section {
  background: linear-gradient(135deg, #1e40af 0%, #1e40af 100%);
  color: white;
  padding: 1.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 105px !important;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .lead {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-section video {
  margin-top: 1rem;
  max-height: 200px;
  object-fit: cover;
}

/* Typography */
.modern-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.3;
  animation-duration: 1s;
}

#typingTitle::after {
  content: "|";
  animation: smoothBlink 1.2s infinite;
}

@keyframes smoothBlink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.content-section .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #e5e7eb;
  position: relative;
}

.content-section .section-title::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  border-radius: 2px;
}

/* Cards */
.modern-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: none;
  margin-bottom: 1rem;
  position: relative;
}

.feature-card {
  padding: 1.5rem;
  height: 100%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e40af;
  border-radius: 50%;
  padding: 1rem;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 0.75rem;
}

.feature-icon img {
  max-width: 50px;
  max-height: 50px;
  filter: brightness(0) invert(1);
}

.feature-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-text {
  color: var(--neutral);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Buttons */
.btn-modern {
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  margin-bottom: 0.5rem;
}

.btn-primary-modern {
  background: var(--primary);
  color: white;
}

.btn-primary-modern:hover {
  background: #1e3a8a;
  color: white;
}

.btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #1e40af;
  border-color: #1e40af;
}

.btn-primary:hover {
  background: #1e40af;
  border-color: #1e40af;
  transform: translateY(-2px);
}

/* Placement Page Specific */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.shape:nth-child(2) {
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}
.shape:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--accent-color);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.services-section {
  padding: 5rem 0;
  background: white;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--accent-color);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.officer-section {
  background: var(--bg-light);
  padding: 5rem 0;
}

.officer-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.officer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.officer-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--accent-color);
}

.success-section {
  padding: 5rem 0;
  background: white;
}

.success-card {
  background: var(--bg-light);
  border-radius: 15px;
  padding: 2rem;
  border-left: 4px solid var(--secondary);
}

.contact-section {
  background: var(--primary-gradient);
  padding: 4rem 0;
  color: white;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-btn {
  background: white;
  color: var(--text-dark);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* CSE Page Specific */
/* Department Navigation Bar */
.dept-nav {
  background: rgba(30, 64, 175, 0.85);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  z-index: 99;
}

.dept-nav .nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.dept-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
}

.dept-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.dept-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.95);
  color: #1e40af;
  font-weight: 600;
}

/* Fixed Navigation on Scroll */
.dept-nav.fixed {
  position: fixed;
  top: 120px;
  left: 0;
  right: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 98;
}

.sidebar .nav-link {
  color: #374151;
  padding: 0.75rem 1rem;
  margin: 0.25rem 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.sidebar .nav-link:hover {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
  border-color: #1e40af;
}

.sidebar .nav-link.active {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
  border-color: #1e40af;
}

.sidebar .nav-link i {
  margin-right: 0.75rem;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.content-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
  min-height: 400px;
}

@media (max-width: 768px) {
  .dept-nav {
    top: 100px;
    padding: 0.4rem 0;
  }

  .dept-nav.fixed {
    top: 100px;
  }

  .dept-nav .nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0.2rem;
  }

  .dept-nav .nav::-webkit-scrollbar {
    display: none;
  }

  .dept-nav .nav-link {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    flex-shrink: 0;
  }
}

.hidden {
  display: none;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.faculty-card {
  text-align: center;
}

.faculty-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid #e5e7eb;
  transition: transform 0.3s ease;
}

.table,
.table-striped,
.table-hover,
.table-primary {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  border: 1px solid #e5e7eb;
}

.table th,
.table-striped th,
.table-hover th,
.table-primary th {
  background: white;
  color: #374151;
  font-weight: 600;
  padding: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 0.8rem;
}

.table td,
.table-striped td,
.table-hover td,
.table-primary td {
  padding: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  color: #374151;
  font-size: 0.8rem;
}

.table-striped tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

.event-section {
  margin-bottom: 2rem;
}

.event-title {
  background: #c8102e;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.event-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.event-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* About Page Specific */
.about-content {
  font-size: 1rem;
  text-align: justify;
  line-height: 1.7;
  color: #374151;
}

.about-content p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.about-content .lead {
  font-size: 1.1rem;
  font-weight: 500;
}

.about-content ul li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.campus-image {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid #f8fafc;
}

/* Admission Page Specific */
.admission-form {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.admission-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.admission-form .fas {
  display: block;
  margin: 0 auto;
  text-align: center;
}

.admission-form .fa-graduation-cap {
  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;
  width: fit-content;
}

.form-floating {
  margin-bottom: 1rem;
}

.form-floating > .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem 0.75rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.process-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
  margin-bottom: 1rem;
}

.process-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.program-card {
  background: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(30, 64, 175, 0.1);
}

.program-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  color: white;
  font-size: 2rem;
}

/* All other common styles from index page */
.carousel {
  position: relative;
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 5 !important;
}

.carousel-inner {
  position: relative;
  z-index: 1;
}

.slider-card {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.carousel-img {
  height: 280px;
  object-fit: contain;
  width: 100%;
  background: #f8f9fa;
}

.carousel-item.active img {
  will-change: auto;
  transform: translateZ(0);
}

.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy:not([src]) {
  background: #f8f9fa
    url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMTgiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLXdpZHRoPSIyIi8+CjxwYXRoIGQ9Im0xNSAxNSA1IDUgNS01IiBzdHJva2U9IiNkZGQiIHN0cm9rZS13aWR0aD0iMiIgZmlsbD0ibm9uZSIvPgo8L3N2Zz4K")
    no-repeat center;
}

.quick-action {
  padding: 0;
  position: relative;
  z-index: 1;
  animation: pulse 2s infinite;
}

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

@keyframes blinkButton {
  0%,
  50% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0.3;
  }
}

.main-content {
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.key-features {
  background: var(--light);
}

.academic-img {
  width: 100%;
  object-fit: cover;
}

.section-divider {
  height: 3px;
  background: #1e40af;
  margin: 0;
  opacity: 0.8;
}

.notice-card {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
  overflow: hidden;
}

.stats-section {
  background: var(--light);
}

.counter {
  transition: all 0.3s ease;
}

.stat-text {
  color: var(--neutral);
  font-weight: 500;
  font-size: 0.9rem;
}

.modal-content {
  border-radius: 12px;
  border: none;
}

.modal-header {
  border-bottom: 1px solid #e5e7eb;
}

.form-control {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 0.75rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

/* Responsive Design */
@media (min-width: 576px) {
  .hero-section {
    margin-top: 120px !important;
    padding: 2rem 0;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .modern-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .carousel-img {
    height: 350px;
  }

  .hero-section video {
    max-height: 250px;
  }

  .btn-modern {
    width: auto;
    display: inline-block;
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
    margin-top: 27px;
  }

  .hero-section {
    margin-top: 0px !important;
    padding: 4rem 0;
    text-align: left;
    min-height: 60vh;
    display: flex;
    align-items: center;
  }

  .modern-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    padding: 0;
    font-weight: 700;
    display: inline-block;
  }

  .section-title::after {
    left: 0;
    width: 50px;
    height: 4px;
  }

  .carousel-img {
    height: 380px;
  }

  .hero-section .lead {
    font-size: 1.125rem;
  }

  .hero-section video {
    margin-top: 0;
    max-height: none;
  }

  .main-content {
    padding: 3rem 0;
  }

  .btn-modern {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
  }

  .btn-primary-modern:hover {
    transform: translateY(-2px);
  }

  .modern-card {
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
  }

  .modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  }

  .stats-section {
    padding: 4rem 0;
  }

  .stat-card {
    padding: 2rem;
    margin-bottom: 0;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stat-text {
    font-size: 1rem;
  }

  .admission-form {
    padding: 2rem;
  }
}

@media (min-width: 992px) {
  .carousel-img {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero-section {
    padding: 2rem 0;
    margin-top: 120px;
  }

  .admission-form {
    padding: 1.5rem;
  }

  .sidebar .nav-link {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .content-section {
    padding: 1.5rem;
    min-height: auto;
  }

  .content-section .section-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .faculty-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }

  .faculty-img {
    height: 150px;
  }

  .event-images {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .event-img {
    height: 180px;
  }
}

/* Performance Optimizations */
.carousel-item img,
.program-card img,
.hero-video video {
  will-change: transform;
}

.carousel-item img,
.program-card img,
.hero-video video {
  will-change: transform;
}
/* Department Pages Specific Styles */
.department-hero {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0 60px;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
}

.department-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.department-hero .container {
  position: relative;
  z-index: 2;
}

.department-hero h1 {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.department-hero .lead {
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.department-hero.civil {
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("../image/civil.jpg");
}

.department-hero.mechanical {
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("../image/mech.jpg");
}

.department-hero.etc {
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("../image/etc-f/etc.png");
}

.department-hero.ai {
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("../image/ai-bg.png");
}

.table thead th {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  border: none;
  font-weight: 600;
  padding: 1rem;
}

.table tbody td {
  padding: 1rem;
  border-color: #e5e7eb;
  vertical-align: middle;
}

.event-section {
  margin-bottom: 2rem;
}

.event-title {
  background: #c8102e;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.event-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.event-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Admission Page Specific */
.stats-section {
  padding: 3rem 0;
  background: #f8fafc;
}

.process-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.process-card:hover {
  transform: translateY(-2px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
}

.admission-form {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #e5e7eb;
}

.program-card {
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
}

.program-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.contact-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem;
  margin: 0 auto 1rem !important;
}

/* About Page Specific */
.campus-image {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
}

.about-content ul {
  padding-left: 1.5rem;
}

.about-content li {
  margin-bottom: 0.5rem;
}
.department-hero.data-science {
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("../image/data-science-bg.jpg");
}

.department-hero.cyber {
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("../image/cyber-bg.jpg");
}

.department-hero.ash {
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("../image/ash-bg.jpg");
}

.mtech-hero {
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("../image/mtech-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0 60px;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
}

.mtech-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.mtech-hero .container {
  position: relative;
  z-index: 2;
}

.mtech-hero h1 {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.mtech-hero .lead {
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Overview Stats Styles */
.overview-stats {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-item:last-child {
  margin-bottom: 0;
}

.stat-item i {
  font-size: 1.25rem;
  margin-right: 1rem;
  width: 24px;
  text-align: center;
}

.stat-label {
  font-weight: 600;
  color: #374151;
  margin-right: 0.5rem;
}

.stat-value {
  font-weight: 700;
  color: var(--primary);
}

/* Vision & Mission Cards */
.vision-card,
.mission-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-card .card-header,
.mission-card .card-header {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  padding: 1.25rem;
  border: none;
}

.vision-card .card-body,
.mission-card .card-body {
  padding: 1.5rem;
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.mission-list li:last-child {
  margin-bottom: 0;
}

.mission-list i {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Faculty Grid Styles */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.faculty-card {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.faculty-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

/* Lab Images */
.lab-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.lab-card {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

/* Event Gallery */
.event-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .overview-stats {
    padding: 1.5rem;
  }

  .stat-item {
    padding: 0.5rem;
  }

  .faculty-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }

  .faculty-img {
    height: 150px;
  }

  .vision-card .card-body,
  .mission-card .card-body {
    padding: 1rem;
  }
}

.department-hero.data-science {
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("../image/data-science.jpg");
}

.department-hero.cyber {
  margin: auto;
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("../image/cyber.jpeg");
}
.department-hero.cse1 {
  margin: auto;
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("../image/cse-f/cse.jpg");
}

/* Breadcrumb Hero Section */
.breadcrumb-hero {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #059669 100%);
  color: white;
  padding: 40px 0 60px;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
}

.breadcrumb-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../image/cse-f/cse.jpg") center/cover;
  opacity: 0.1;
  z-index: 1;
}

.breadcrumb-hero .container {
  position: relative;
  z-index: 2;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  margin-bottom: 2rem;
}

.breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-item {
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
}

.breadcrumb-item a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.breadcrumb-item.active {
  color: white;
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0.5rem;
}

/* Hero Content */
.hero-content {
  padding: 2rem 0;
}

.hero-text {
  text-align: left;
}

.hero-title {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-icon {
  color: #fbbf24;
  margin-right: 1rem;
  font-size: 2.5rem;
  vertical-align: middle;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  line-height: 1.4;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-badge i {
  margin-right: 0.5rem;
  color: #fbbf24;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  position: relative;
}

.floating-icon {
  width: 200px;
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.floating-icon i {
  font-size: 4rem;
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .breadcrumb-hero {
    padding: 30px 0 40px;
    margin-top: 120px;
  }

  .hero-title {
    font-size: 2rem;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .hero-visual {
    height: 200px;
  }

  .floating-icon {
    width: 150px;
    height: 150px;
  }

  .floating-icon i {
    font-size: 3rem;
  }

  .breadcrumb {
    padding: 0.5rem 1rem;
  }

  .breadcrumb-item {
    font-size: 0.8rem;
  }
}

/* ASH Department Specific */
.ash-hero {
  margin: auto;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  padding: 60px 0 40px;
  margin-top: 120px;
}

/* NAAC Page Specific */
.naac-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.naac-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.naac-hero .container {
  position: relative;
  z-index: 2;
}

.naac-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.documents-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
}

.documents-card ol {
  padding-left: 1.5rem;
}

.documents-card ol li {
  margin: 0.75rem 0;
  font-size: 1rem;
}

.documents-card ol li a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 4px;
  display: inline-block;
}

.documents-card ol li a:hover {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}
/* UG/PG Pages Specific */
.ug-pg-hero {
  margin-top: 110px;
}

.ug-pg-hero img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.ug-pg-text {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
}

.ug-pg-sidebar {
  z-index: 100;
  padding: 48px 0 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
}

.ug-pg-link {
  text-decoration: none;
  color: #fff;
  background-color: red;
  font-size: 25px;
  padding: 10px;
  margin: 4px;
  display: block;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.ug-pg-link:hover {
  background-color: #fff;
  color: red;
}

/* Management Page Specific */
.management-hero {
  background: linear-gradient(135deg, #1e40af 0%, #059669 100%);
  color: white;
  padding: 60px 0 40px;
  margin-top: 120px;
}

.management-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.management-img {
  border-radius: 8px;
  border: 3px solid #e5e7eb;
  max-width: 100%;
  height: auto;
}

.management-name {
  color: #111827;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.management-content {
  font-size: 0.9rem;
  text-align: justify;
  line-height: 1.6;
  color: #374151;
}
/* Principal Desk Page Specific */
.principal-hero {
  margin: auto;
  background: linear-gradient(135deg, #1e40af 0%, #059669 100%);
  color: white;
  padding: 60px 0 40px;
  margin-top: 120px;
}

.principal-content {
  font-size: 0.95rem;
  text-align: justify;
  line-height: 1.6;
  color: #374151;
}

.principal-image {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid #f8fafc;
}

.principal-name {
  background: linear-gradient(135deg, #fbbf24, #f3f4f6);
  color: #1e40af;
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  margin: 0.75rem 0;
}

.download-links {
  list-style: none;
  padding: 0;
}

.download-links li {
  margin-bottom: 0.3rem;
}

.download-links a {
  display: inline-flex;
  align-items: center;
  color: #dc2626;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.download-links a:hover {
  color: #991b1b;
  transform: translateX(5px);
}

.download-links i {
  margin-right: 0.4rem;
  font-size: 0.85rem;
}
/* Campus Facilities Page Specific */
.facilities-hero {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  padding: 3rem 0;
  margin-bottom: 1rem;
}

.facility-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-5px);
}

.facility-icon {
  width: 60px;
  height: 60px;
  background: #1e40af;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.video-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.amenities-list {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  border-radius: 8px;
  padding: 2rem;
  color: white;
}

.amenities-list ul {
  list-style: none;
  padding: 0;
}

.amenities-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.amenities-list li:last-child {
  border-bottom: none;
}

/* Library Page Specific */
.library-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  margin-top: 120px;
}

.library-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.library-hero .container {
  position: relative;
  z-index: 2;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.floating-elements::before,
.floating-elements::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 10%;
  animation-delay: -2s;
}

.floating-elements::after {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 15%;
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(30, 64, 175, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  color: white;
  font-size: 2rem;
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.info-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
  margin-bottom: 1rem;
}

.staff-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.staff-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary);
}

/* Laboratory Page Specific */
.lab-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  margin-top: 120px;
}

.lab-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.lab-hero .container {
  position: relative;
  z-index: 2;
}

.lab-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.lab-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.lab-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.lab-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  position: relative;
}

.cs-lab {
  --lab-color: var(--secondary);
}
.ds-lab {
  --lab-color: #dc2626;
}
.mech-lab {
  --lab-color: #7c3aed;
}
.civil-lab {
  --lab-color: #c8102e;
}
.elec-lab {
  --lab-color: #0891b2;
}
.ai-lab {
  --lab-color: #be185d;
}

.cs-lab .lab-icon {
  background: linear-gradient(135deg, var(--secondary), #fbbf24);
}
.ds-lab .lab-icon {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}
.mech-lab .lab-icon {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}
.civil-lab .lab-icon {
  background: linear-gradient(135deg, #c8102e, #c8102e);
}
.elec-lab .lab-icon {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
}
.ai-lab .lab-icon {
  background: linear-gradient(135deg, #be185d, #ec4899);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.feature-list li:hover {
  background: #f8fafc;
  padding-left: 1rem;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

/* ===== UTILITY PAGES STYLES ===== */

/* 404 Error Page */
.error-container {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.error-title {
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.error-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Career Page */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 4rem 0;
  margin-top: 100px;
}

.job-card {
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.job-card:hover {
  border-left-color: var(--secondary);
}

.job-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

/* Hostel Page */
.hostel-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.hostel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.boys-hostel::before {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.girls-hostel::before {
  background: linear-gradient(90deg, #7c3aed, #ec4899);
}

.hostel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.boys-hostel:hover {
  border-color: var(--primary);
}

.girls-hostel:hover {
  border-color: #7c3aed;
}

.hostel-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 2rem;
}

.boys-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.girls-icon {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.facility-list {
  list-style: none;
  padding: 0;
}

.facility-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.facility-list li:hover {
  background: #f8fafc;
  padding-left: 1rem;
}

.facility-list li:last-child {
  border-bottom: none;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: #7c3aed;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

/* Canteen Page */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #c8102e;
  box-shadow: 0 15px 35px rgba(234, 88, 12, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c8102e, #eab308);
  border-radius: 50%;
  color: white;
  font-size: 2rem;
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.menu-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: #c8102e;
}

.menu-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #c8102e, #eab308);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.price-tag {
  background: linear-gradient(135deg, #c8102e, #eab308);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Stats Section */
.stats-section {
  background: var(--light);
  padding: 3rem 0;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
}

.stat-text {
  color: var(--neutral);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Info Card */
.info-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
  margin-bottom: 1rem;
}

/* Floating Elements Animation */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.floating-elements::before,
.floating-elements::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 10%;
  animation-delay: -2s;
}

.floating-elements::after {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 15%;
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Admission Form Styles */
.admission-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 2rem 0;
  margin: 80px 0 2rem 0;
}

.form-section {
  background: #f8f9fa;
  border-left: 4px solid #007bff;
  padding: 1rem;
  margin: 1.5rem 0;
}

.form-section h5 {
  color: #495057;
  font-weight: 600;
  margin-bottom: 1rem;
}

.btn-standard {
  padding: 0.5rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.card-admission {
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 0.5rem;
}

.form-label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.5rem;
}

.college-option {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}

.college-option:hover {
  border-color: #007bff;
  background-color: #f8f9fa;
}

.college-option input:checked + label {
  color: #007bff;
}

.loading {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Login Page */
.login-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .error-code {
    font-size: 4rem;
  }

  .error-title {
    font-size: 1.5rem;
  }

  .error-container {
    padding: 2rem 0;
  }

  .hero-section {
    padding: 2rem 0;
    margin-top: 120px;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .hostel-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .gallery-img {
    height: 200px;
  }

  .admission-header {
    padding: 2rem 0;
    margin-top: 120px;
  }
}
/* ===== M.TECH PROGRAM PAGES STYLES ===== */

/* M.Tech Department Pages */
.mtech-hero {
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8)),
    url("image/civil.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 0 40px;
  margin-top: 120px;
}

.sidebar {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 0.75rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.sidebar .nav-link {
  color: #374151;
  padding: 0.5rem 0.75rem;
  margin: 0.15rem 0;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background: #1e40af;
  color: white;
  transform: translateX(5px);
}

.sidebar .nav-link i {
  margin-right: 0.5rem;
}

.content-section {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.section-title {
  color: #1e40af;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.hidden {
  display: none;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.faculty-card {
  text-align: center;
}

.faculty-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid #e5e7eb;
  transition: transform 0.3s ease;
}

.faculty-img:hover {
  transform: scale(1.05);
}

.table {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table thead th {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  border: none;
  font-weight: 600;
  padding: 1rem;
}

.table tbody td {
  padding: 1rem;
  border-color: #e5e7eb;
  vertical-align: middle;
}

.event-section {
  margin-bottom: 2rem;
}

.event-title {
  background: #c8102e;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.event-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.event-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* VLSI Specific Styles */
.table-modern {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-modern th {
  background: #1e40af;
  color: white;
  font-weight: 600;
  padding: 0.75rem;
}

.event-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.event-gallery img:hover {
  transform: scale(1.05);
}

.lab-card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.lab-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* Mobile Responsive for M.Tech Pages */
@media (max-width: 768px) {
  .mtech-hero {
    padding: 2rem 0;
    margin-top: 120px;
  }

  .sidebar {
    margin-bottom: 1rem;
  }

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

  .event-images {
    grid-template-columns: 1fr;
  }
}
/* ===== ADMIN & FORM PAGES STYLES ===== */

/* Admin Panel Styles */
.admin-navbar {
  height: 60px;
  z-index: 1030;
}

.admin-sidebar {
  height: calc(100vh - 60px);
  overflow-y: auto;
  top: 60px;
  left: 0;
  z-index: 1020;
}

.admin-content {
  margin-top: 60px;
}

.table thead th {
  position: sticky;
  top: 0;
  background-color: #f8f9fa;
  z-index: 10;
  border-bottom: 2px solid #dee2e6;
  border-right: 1px solid #dee2e6;
}

.table td {
  border-right: 1px solid #dee2e6;
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  body {
    margin-top: 0 !important;
    padding-top: 20px !important;
    font-size: 12px;
  }

  .container-fluid {
    margin-top: 0 !important;
  }

  .navbar {
    display: none !important;
  }

  .print-footer {
    display: block !important;
    text-align: center;
    margin-top: 30px;
  }

  .container {
    max-width: 100%;
  }
}

.print-only {
  display: none;
}

.print-footer {
  display: none;
}

/* Form Styles */
.form-header {
  text-align: center;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.field-row {
  margin-bottom: 15px;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 8px;
}

.field-label {
  font-weight: bold;
  color: #333;
}

.field-value {
  margin-left: 10px;
}

/* Success Page Styles */
.success-card {
  transition: all 0.5s ease;
}

/* Application Status Styles */
.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-approved {
  background-color: #d1edff;
  color: #0c5460;
}

.status-rejected {
  background-color: #f8d7da;
  color: #721c24;
}
/* ===== COMMITTEE & UTILITY PAGES STYLES ===== */

/* AICTE & IQAC Pages */
.documents-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
}

.documents-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem;
  border-radius: 6px;
  display: block;
  margin: 0.5rem 0;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.documents-card a:hover {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}

.affiliation-link {
  background: linear-gradient(135deg, var(--accent), #e53e3e);
  color: white !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem !important;
  text-align: center;
  margin-top: 2rem;
}

.affiliation-link:hover {
  background: linear-gradient(135deg, #e53e3e, var(--accent));
  color: white !important;
  transform: translateY(-2px);
}

.year-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
}

.year-section h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.year-section ol {
  padding-left: 1.5rem;
}

.year-section ol li {
  margin: 0.75rem 0;
  font-size: 1rem;
}

.year-section ol li a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 4px;
  display: inline-block;
}

.year-section ol li a:hover {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}

/* AISHE Page Specific */
.top-heading {
  background-image: url("image/abu.jpeg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  opacity: 100%;
  padding: 100px 0;
}

.top-heading h2 {
  font-size: 3em;
  margin-top: 50px;
  color: #fff;
  background-color: navy;
  float: right;
  padding: 5px;
}

.ab {
  background: linear-gradient(to right, #8b0000, navy);
  color: #fff;
}

.abc {
  font-size: 1.2em;
  border: 2px solid navy;
  box-shadow: 4px 5px grey;
}

.aishe-list {
  font-family: Arial, sans-serif;
  margin-left: 20px;
}

.aishe-list a {
  text-decoration: none;
  color: #1e90ff;
}

.aishe-list a:hover {
  text-decoration: underline;
}

/* Committee Pages Common */
.committee-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.committee-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.committee-hero .container {
  position: relative;
  z-index: 2;
}

.committee-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Committee Card Styles */
.committee-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
  margin-bottom: 2rem;
}

.committee-card h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.committee-card ul {
  list-style: none;
  padding-left: 0;
}

.committee-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.committee-card ul li:last-child {
  border-bottom: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .committee-hero h1 {
    font-size: 2rem;
  }

  .documents-card,
  .year-section,
  .committee-card {
    padding: 1.5rem;
  }

  .top-heading h2 {
    font-size: 2em;
  }
}
/* ===== COMMITTEE HERO & INTERACTIVE STYLES ===== */

/* Committee Hero with Floating Shapes */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Committee Tables */
.committee-table {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.committee-table .table thead th {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 1.5rem 1rem;
  font-weight: 600;
}

.committee-table .table tbody tr {
  transition: all 0.3s ease;
}

.committee-table .table tbody td {
  padding: 1.25rem 1rem;
  vertical-align: middle;
  border-color: #e5e7eb;
}

.member-name {
  font-weight: 600;
  color: var(--dark);
}

.profession-text {
  color: #6b7280;
  font-size: 0.9rem;
}

.designation-badge {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.coordinator {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.member {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
}

.contact-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Document Cards */
.document-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.document-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.document-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.download-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

.squad-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 3rem 0 2rem;
  text-align: center;
  color: var(--dark);
}

/* Info Cards */
.info-section {
  background: var(--light);
  padding: 5rem 0;
}

.info-card {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
}

.document-section {
  background: var(--light);
  padding: 4rem 0;
}

/* Overview Stats */
.overview-stats {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.stat-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-item:last-child {
  margin-bottom: 0;
}

.stat-item i {
  font-size: 1.2rem;
  margin-right: 0.75rem;
  width: 24px;
  text-align: center;
}

.stat-label {
  font-weight: 600;
  color: #374151;
  margin-right: 0.5rem;
}

.stat-value {
  font-weight: 700;
  color: #1e40af;
  margin-left: auto;
}

/* Vision Mission Cards */
.vision-card,
.mission-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vision-card .card-header,
.mission-card .card-header {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  padding: 1rem 1.5rem;
  border-bottom: none;
  display: flex;
  align-items: center;
}

.vision-card .card-header h5,
.mission-card .card-header h5 {
  color: white;
  font-weight: 600;
}

.vision-card .card-body,
.mission-card .card-body {
  padding: 1.5rem;
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
}

.mission-list li:last-child {
  border-bottom: none;
}

.mission-list li i {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Enhanced Faculty Grid */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.faculty-card {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faculty-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #e5e7eb;
  transition: all 0.3s ease;
}

.faculty-img:hover {
  border-color: #1e40af;
  transform: scale(1.02);
}

/* Enhanced Event Sections */
.event-section {
  margin-bottom: 3rem;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.event-title {
  background: linear-gradient(135deg, #c8102e, #c8102e);
  color: white;
  padding: 1.5rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.event-title h4 {
  margin: 0;
  font-weight: 600;
  font-size: 1.25rem;
}

.event-title::before {
  content: "\f073";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.event-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}

.event-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.event-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Enhanced Tables */
.content-section .table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.content-section .table th {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  font-weight: 600;
  padding: 1rem;
  border: none;
  text-align: left;
  font-size: 0.9rem;
}

.content-section .table td {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  color: #374151;
  font-size: 0.9rem;
}

.content-section .table tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

/* Additional Enhancements */
.content-section p {
  line-height: 1.7;
  color: #374151;
  margin-bottom: 1rem;
}

.content-section .lead {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  color: #1f2937;
}

.img-fluid.rounded {
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

/* Scrollbar Styling for Sidebar */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #1e40af;
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #1e3a8a;
}

/* Mobile Responsive Updates */
@media (max-width: 576px) {
  .department-hero {
    padding: 60px 0 40px;
  }

  .department-hero h1 {
    font-size: 2rem;
  }

  .department-hero .lead {
    font-size: 1rem;
  }

  .overview-stats {
    margin-top: 1rem;
  }

  .stat-item {
    padding: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .faculty-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
  }

  .faculty-img {
    height: 180px;
  }

  .event-images {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .event-img {
    height: 200px;
  }

  .event-title {
    padding: 1rem;
  }

  .vision-card .card-body,
  .mission-card .card-body {
    padding: 1rem;
  }
}
/* Full Page Hero Video Styles */
.hero-fullscreen {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}

.fallback-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 51, 102, 0.6);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  width: 100%;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: white;
  position: relative;
  margin: 0 auto;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
.footer-logo {
  height: 65px;
  padding: 8px;
}

/* ===================================================================
   Mobile Footer Fix - Ensures footer spans full width on all devices
   ================================================================= */

/* Force footer to span full viewport width on all devices */
.modern-footer {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  box-sizing: border-box !important;
}

/* Ensure footer container spans full width */
.modern-footer .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Ensure footer rows don't create gaps */
.modern-footer .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* Fix column padding */
.modern-footer [class*="col-"] {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Mobile devices (768px and below) */
@media (max-width: 768px) {
  .modern-footer {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }

  .modern-footer .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .modern-footer .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  .modern-footer [class*="col-"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Small mobile devices (480px and below) */
@media (max-width: 480px) {
  .modern-footer {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }

  .modern-footer .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .modern-footer [class*="col-"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Extra small devices (360px and below) */
@media (max-width: 360px) {
  .modern-footer {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }

  .modern-footer .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .modern-footer [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* Prevent any horizontal overflow */
html,
body {
  overflow-x: hidden !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

/* Ensure all containers don't exceed viewport width */
.container,
.container-fluid {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Fix any potential Bootstrap conflicts */
.modern-footer .container-fluid.px-0 {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

@media (max-width: 768px) {
  .modern-footer .container-fluid.px-0 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 480px) {
  .modern-footer .container-fluid.px-0 {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

@media (max-width: 360px) {
  .modern-footer .container-fluid.px-0 {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}
