/* Essential CSS - Only Used Classes */

/* Base Styles */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8fafc;
  color: #333;
  line-height: 1.6;
}

/* Hero Section - New (Used in index.php) */
.hero-section-new {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 25%, #1e40af 50%, #7c3aed 75%, #581c87 100%);
  overflow: hidden;
}

.floating-bg {
  position: absolute;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
  animation: float-bg 20s ease-in-out infinite;
}

@keyframes float-bg {
  0%, 100% {
    transform: translate(-10%, -10%) rotate(0deg);
  }
  50% {
    transform: translate(-5%, -5%) rotate(180deg);
  }
}

/* Hero Section - Old (Used in other pages) */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

/* Logo Styles */
.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-small {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.logo-small:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.logo-hero {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Feature Boxes */
.feature-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
  color: white;
  text-decoration: none;
}

/* Faculty Cards */
.faculty-card {
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Semester Buttons */
.semester-btn {
  display: block;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid #cbd5e0;
  border-radius: 12px;
  text-decoration: none;
  color: #4a5568;
  font-weight: 600;
  text-align: center;
  transition: all 0.4s ease;
  width: 100%;
  margin: 4px 0;
  position: relative;
  overflow: hidden;
}

.semester-btn:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
  border-color: #667eea;
  width: 100%;
}

.semester-btn-civil {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #bbf7d0;
  border-radius: 12px;
  text-decoration: none;
  color: #166534;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  margin: 4px 0;
}

.semester-btn-civil:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  color: white !important;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(22, 163, 74, 0.5);
  border-color: #16a34a;
  width: 100%;
}

.semester-btn-computer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #93c5fd;
  border-radius: 12px;
  text-decoration: none;
  color: #1e40af;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  margin: 4px 0;
}

.semester-btn-computer:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  color: white !important;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.5);
  border-color: #3b82f6;
  width: 100%;
}

/* Ads Section */
.ads-section {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px dashed #cbd5e0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #64748b;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.ads-section:hover {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
  border-color: #94a3b8;
}

/* Mission Box */
.mission-box {
  border: 2px solid #6c757d;
  padding: 30px;
  margin: 30px;
}

.mission-box h2 {
  text-transform: uppercase;
  font-weight: bold;
  color: #000080;
  margin-bottom: 15px;
}

.mission-box p,
.mission-box ul {
  margin-bottom: 10px;
  line-height: 1.7;
}

.mission-box ul {
  padding-left: 20px;
}

/* Team Section */
.team-section {
  text-align: center;
  padding: 60px 20px;
}

.team-section h2 {
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.team-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #007bff;
  border-radius: 2px;
}

.team-member {
  margin-bottom: 30px;
}

.team-member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #007bff;
}

.team-member h5 {
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 600;
}

.team-member p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* Contact Header */
.contact-header {
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  margin-bottom: 30px;
  text-decoration: underline;
}

/* Message Form */
.message-form {
  padding: 5rem;
}

.form-label {
  font-weight: 500;
  margin-bottom: 6px;
}

.form-control {
  border: 1px solid #ced4da;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
}

textarea.form-control {
  height: 130px;
  resize: none;
}

.btn-send {
  background: #007bff;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.3s;
}

.btn-send:hover {
  background: #0056b3;
}

/* Alert Messages */
.alert {
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: bold;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header {
    padding: 0 1rem;
    height: auto;
    flex-direction: space-between;
    gap: 2.5rem;
    align-items: center;
  }

  .ads-section {
    height: 100px;
    font-size: 16px;
  }

  .message-form {
    padding: 2rem;
  }

  .hero-section {
    padding: 3rem 0;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section p {
    font-size: 1.125rem;
  }

  .semester-btn,
  .semester-btn-civil,
  .semester-btn-computer {
    padding: 16px 12px;
    font-size: 0.875rem;
    width: 100%;
    margin: 4px 0;
  }

  .semester-btn-civil:hover,
  .semester-btn-computer:hover {
    width: 100%;
  }

  .logo-hero {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }

  .hero-section-new {
    padding: 2rem 0;
  }

  .hero-section-new h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-section-new p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .faculty-card {
    margin-bottom: 2rem;
  }

  .feature-box {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }

  .header {
    padding: 0.5rem 1rem;
    height: auto;
    min-height: 6vh;
  }

  .header .logo {
    font-size: 1.1rem;
  }

  .header .date {
    font-size: 0.75rem;
  }

  nav {
    height: auto;
    min-height: 8vh;
    padding: 0.75rem 1rem;
  }
}

/* Footer Responsive Layout */
/* Mobile - Column Layout */
@media (max-width: 768px) {
  footer .footer-main-row {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  footer .col-md-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
  }
}

/* Desktop - Row Layout */
@media (min-width: 769px) {
  footer .footer-main-row {
    flex-direction: row !important;
    align-items: flex-start !important;
  }
  
  footer .col-md-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
  
  footer .footer-brand-col {
    text-align: center !important;
  }
  
  footer .footer-links-col,
  footer .footer-resources-col,
  footer .footer-contact-col {
    text-align: left !important;
  }
}

/* Footer Hover Effects */
footer a {
  transition: all 0.3s ease;
}

footer a:hover {
  color: #007bff !important;
}/*
 New Redesigned Sections CSS */

/* Mission Section */
.mission-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
}

.mission-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Team Section */
.team-member-card {
  transition: all 0.3s ease;
}

.team-member-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.team-member-card img {
  transition: all 0.3s ease;
}

.team-member-card:hover img {
  transform: scale(1.1);
}

/* Contact Section */
.contact-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Message Form */
.message-form-section {
  background: white;
}

.form-input {
  transition: all 0.3s ease;
}

.form-input:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.25);
}

.send-button {
  transition: all 0.3s ease;
}

.send-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.4);
}

/* Gradient Backgrounds */
.gradient-blue {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.gradient-purple {
  background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
}

.gradient-green {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

/* Icon Containers */
.icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.icon-container:hover {
  transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .mission-card {
    padding: 2rem 1rem;
  }
  
  .team-member-card {
    padding: 1.5rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .message-form-section .container {
    padding: 1rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .text-4xl {
    font-size: 2rem;
  }
  
  .text-5xl {
    font-size: 2.5rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Enhancements */
.btn-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  color: white;
}

/* Card Hover Effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Border Gradients */
.border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #3b82f6, #8b5cf6) border-box;
}
/* NA
VBAR DROPDOWN Z-INDEX FIX - CRITICAL FOR DROPDOWN VISIBILITY */
/* This ensures navbar dropdowns appear above hero sections and other content */

nav {
  position: relative !important;
  z-index: 9998 !important;
}

/* Force all navbar dropdowns to appear on top */
nav ul li.group ul,
nav ul li.relative ul,
nav .group:hover ul,
.group:hover ul {
  position: absolute !important;
  z-index: 9999 !important;
  display: block !important;
  background: white !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
  border-radius: 8px !important;
  min-width: 200px !important;
  padding: 8px 0 !important;
  margin-top: 4px !important;
  border: 1px solid #e5e7eb !important;
  left: 0 !important;
  top: 100% !important;
}

/* Ensure hero sections stay below navbar */
.hero-section-new {
  position: relative !important;
  z-index: 1 !important;
}

.hero-section {
  position: relative !important;
  z-index: 1 !important;
}

/* Mobile menu should be highest */
#mobileMenu {
  z-index: 10000 !important;
}

/* Dropdown item styling */
nav ul li ul li {
  padding: 4px 0 !important;
  margin: 0 !important;
}

nav ul li ul li a {
  padding: 8px 16px !important;
  display: block !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  color: #374151 !important;
}

nav ul li ul li a:hover {
  background-color: #f3f4f6 !important;
  color: #3b82f6 !important;
}

/* Override any conflicting Tailwind classes */
.z-15 {
  z-index: 9999 !important;
}

/* Ensure dropdown visibility on hover */
.group:hover > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/
* TEAM PAGE SPECIFIC ANIMATIONS AND STYLES */

/* Floating animation for team member cards */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.team-member-float {
  animation: float 6s ease-in-out infinite;
}

/* Staggered animation delays for team members */
.team-member-card:nth-child(1) {
  animation-delay: 0s;
}

.team-member-card:nth-child(2) {
  animation-delay: 0.2s;
}

.team-member-card:nth-child(3) {
  animation-delay: 0.4s;
}

/* Pulse animation for social icons */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.6);
  }
}

.social-icon-glow:hover {
  animation: pulse-glow 1.5s ease-in-out infinite;
}

/* Gradient text animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animated-gradient-text {
  background: linear-gradient(-45deg, #3b82f6, #8b5cf6, #ec4899, #10b981);
  background-size: 400% 400%;
  animation: gradient-shift 3s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Skill tag hover effects */
.skill-tag {
  transition: all 0.3s ease;
  cursor: default;
}

.skill-tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Team stats counter animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-counter {
  animation: countUp 0.8s ease-out;
}

/* Enhanced hover effects for team cards */
.team-card-enhanced {
  position: relative;
  overflow: hidden;
}

.team-card-enhanced::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;
}

.team-card-enhanced:hover::before {
  left: 100%;
}

/* Values section icon bounce */
@keyframes iconBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.value-icon:hover {
  animation: iconBounce 1s ease;
}

/* Responsive team grid improvements */
@media (max-width: 768px) {
  .team-member-card {
    margin-bottom: 2rem;
  }
  
  .feature-box {
    padding: 1rem;
  }
  
  .hero-section-new h1 {
    font-size: 2.5rem;
  }
  
  .hero-section-new p {
    font-size: 1rem;
  }
}

/* Loading animation for images */
.team-image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Enhanced button hover effects */
.cta-button-enhanced {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-button-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.cta-button-enhanced:hover::before {
  left: 100%;
}

.cta-button-enhanced:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
/* Enhanced Semester Button Hover Effects */
.semester-btn,
.semester-btn-civil,
.semester-btn-computer {
  position: relative;
  overflow: hidden;
}

.semester-btn::before,
.semester-btn-civil::before,
.semester-btn-computer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s;
  z-index: 1;
}

.semester-btn:hover::before,
.semester-btn-civil:hover::before,
.semester-btn-computer:hover::before {
  left: 100%;
}

/* Ensure full width in grid containers */
.grid .semester-btn,
.grid .semester-btn-civil,
.grid .semester-btn-computer {
  width: 100% !important;
}

.grid .semester-btn:hover,
.grid .semester-btn-civil:hover,
.grid .semester-btn-computer:hover {
  width: 100% !important;
}

/* Add prominent animation for better UX */
.semester-btn i,
.semester-btn-civil i,
.semester-btn-computer i {
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}

.semester-btn:hover i,
.semester-btn-civil:hover i,
.semester-btn-computer:hover i {
  transform: scale(1.3) rotate(360deg);
}

/* Text animation */
.semester-btn span,
.semester-btn-civil span,
.semester-btn-computer span {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.semester-btn:hover span,
.semester-btn-civil:hover span,
.semester-btn-computer:hover span {
  transform: translateY(-2px);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
/* Force
 visible hover effects - Override any conflicting styles */
.semester-btn:hover,
.semester-btn-civil:hover,
.semester-btn-computer:hover {
  text-decoration: none !important;
  outline: none !important;
  border-style: solid !important;
}

/* Pulse animation on hover */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
  }
}

@keyframes pulse-glow-green {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

@keyframes pulse-glow-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.semester-btn:hover {
  animation: pulse-glow 1.5s infinite;
}

.semester-btn-civil:hover {
  animation: pulse-glow-green 1.5s infinite;
}

.semester-btn-computer:hover {
  animation: pulse-glow-blue 1.5s infinite;
}

/* Additional hover state for better visibility */
.semester-btn:active,
.semester-btn-civil:active,
.semester-btn-computer:active {
  transform: translateY(-3px) scale(0.98) !important;
}