:root {
    --primary: #6a3093;  /* Purple */
    --secondary: #004e92; /* Blue */
    --accent: #f7c744;
    --bg: #ffffff;
    --text-dark: #111;
    --text-light: #fff;
    --glow: 0 0 15px rgba(247, 199, 68, 0.7);
    --nav-glow: 0 0 20px rgba(106, 48, 147, 0.6);
    --green-glow: 0 0 20px rgba(76, 175, 80, 0.5);
    --green-particle: rgba(76, 175, 80, 0.8);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }

  body {
    background-color: #f9f9f9;
    min-height: 100vh;
    color: var(--text-dark);
    overflow-x: hidden;
  }
  /* Glowing Gradient Background */
body::before {
content: '';
position: fixed;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(
  circle at center,
  rgba(106, 48, 147, 0.1) 0%,
  rgba(0, 78, 146, 0.1) 50%,
  rgba(0, 0, 0, 0.8) 100%
);
z-index: -2;
animation: rotateBg 60s linear infinite;
}

@keyframes rotateBg {
0% {
  transform: rotate(0deg);
}
100% {
  transform: rotate(360deg);
}
}

  /* Navigation */
  nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1.5rem 3rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: var(--nav-glow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  nav.scrolled {
    padding: 0.8rem 3rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    background: rgba(0, 45, 98, 0.95);
    backdrop-filter: blur(10px);
  }

  .nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    margin-right: auto;
  }

  .logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
  }

  .logo-img {
    height: 150px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 2;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    margin-top: 10px;
  }

  .logo-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    position: relative;
  }

  .logo-main::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
  }

  .logo-container:hover .logo-main::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .logo-sub {
    font-size: 1rem;
    color: var(--accent);
    font-style: italic;
    letter-spacing: 1px;
    margin-top: 5px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }

  .logo-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: linear-gradient(45deg, 
      transparent, 
      transparent, 
      rgba(255,255,255,0.2), 
      transparent, 
      transparent);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.8s ease;
    z-index: 1;
  }

  .logo-container:hover::before {
    transform: translateX(200%) skewX(-15deg);
  }

  ul.nav-links {
    list-style: none;
    display: flex;
    gap: 0.8rem;
    margin-left: auto;
  }

  ul.nav-links li {
    position: relative;
    perspective: 1000px;
  }

  ul.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 10px 12px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    overflow: hidden;
    border-radius: 8px;
  }

  @media (min-width: 768px) {
    ul.nav-links {
      gap: 0.5rem;
    }
  }

  @media (max-width: 768px) {
    ul.nav-links {
      gap: 0.5rem;
    }
  }

  ul.nav-links li a .nav-icon {
    font-size: 1.3rem;
    margin-bottom: 5px;
    opacity: 0.9;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  }

  ul.nav-links li a:hover .nav-icon {
    transform: translateY(-8px) scale(1.1);
    opacity: 1;
    color: var(--accent);
    text-shadow: var(--glow);
  }

  ul.nav-links li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      transparent, 
      rgba(255,255,255,0.15), 
      transparent);
    transform: translateX(-150%) skewX(25deg);
    transition: transform 0.6s ease;
  }

  ul.nav-links li a:hover::before {
    transform: translateX(150%) skewX(25deg);
  }

  ul.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 0 0 8px 8px;
  }

  ul.nav-links li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    box-shadow: var(--glow);
  }

  /* 3D Hover Effect */
  ul.nav-links li a .nav-text {
    display: inline-block;
    transition: transform 0.4s ease;
    transform-style: preserve-3d;
  }

  ul.nav-links li:hover a .nav-text {
    transform: rotateX(360deg);
  }

  /* Mobile menu button */
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
  }

  .mobile-menu-btn:hover {
    transform: rotate(180deg);
    color: var(--accent);
    background: rgba(255,255,255,0.2);
  }

  .nav-text {
    margin-left: 13px;
  }

  /* Page Content */
  .page-content {
    padding-top: 200px;
    padding-bottom: 50px;
    max-width: 1400px;
    margin: 0 auto;
  }

  /* Faculty Section */
  .faculty-section {
    padding: 50px 2rem;
    position: relative;
    overflow: hidden;
  }

  .section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    animation: fadeInDown 1s ease;
  }

  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: var(--accent);
    box-shadow: var(--glow);
  }

  .faculty-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    position: relative;
  }

  /* Principal Card - Special Styling */
  .principal-card {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 60px;
    perspective: 1000px;
    position: relative;
    z-index: 2;

    perspective: 1000px;
transform-style: preserve-3d;
transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  }

  .principal-card-inner {
    position: relative;
    width: 100%;
    height: 400px;
    transition: transform 1s;
    transform-style: preserve-3d;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: inherit;
  }
  .principal-card:hover {
transform: rotateY(10deg);
}

  .principal-card:hover .principal-card-inner {
    transform: rotateY(180deg);
  }

  .principal-card-front, 
  .principal-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
  }

  .principal-card-front {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 30px;
    text-align: center;
  }

  .principal-card-back {
    background: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    color: var(--text-dark);
  }

  .principal-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent);
    box-shadow: var(--glow);
    margin-bottom: 20px;
    transition: all 0.5s ease;
  }

  .principal-card:hover .principal-img {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent);
  }

  .principal-name {
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
  }

  .principal-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s ease;
  }

  .principal-card:hover .principal-name::after {
    width: 150px;
    transform: rotateY(-10deg);
  }

  .principal-title {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 20px;
  }

  .principal-quote {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .principal-details {
    line-height: 1.8;
  }

  .detail-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }

  .detail-icon {
    margin-right: 10px;
    color: var(--primary);
  }

  /* Faculty Cards */
  .faculty-card {
width: 300px;
height: 400px;
perspective: 1000px;
position: relative;
z-index: 2;
transform-style: preserve-3d;
transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

  .faculty-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 15px;
    overflow: hidden;
    transform: rotateY(15deg);
  }

  .faculty-card:hover .faculty-card-inner {
    /* transform: rotateY(180deg); */
    transform: rotateY(-15deg);
  }

  .faculty-card-front, 
  .faculty-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
  }

  .faculty-card-front {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
transform-style: preserve-3d;
  }

  .faculty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: transform 0.5s ease;
  }

  .faculty-card:hover .faculty-img {
    transform: scale(1.1);
  }

  .faculty-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    z-index: 2;
  }

  .faculty-card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
transform: rotateY(180deg);
transform-style: preserve-3d;
}


  .faculty-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
    position: relative;
  }

  .faculty-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
  }

  .faculty-card:hover .faculty-name::after {
    width: 80px;
  }

  .faculty-title {
    font-size: 1rem;
    color: var(--accent);
  }

  .faculty-card-back {
    background: white;
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .faculty-specialty {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
  }

  .faculty-education {
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .faculty-subjects {
    font-style: italic;
    color: var(--secondary);
  }

  /* Department Sections */
  .department-section {
    margin-top: 80px;
    position: relative;
  }

  .department-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
  }

  .department-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent);
  }

  /* Floating Particles */
  .particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
  }

  .particle {
    position: absolute;
    background: var(--green-particle);
    border-radius: 50%;
    animation: float 15s infinite linear;
    filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.5));
  }

  @keyframes float {
    0% {
      transform: translateY(0) rotate(0deg);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      transform: translateY(-1000px) rotate(720deg);
      opacity: 0;
    }
  }

  /* Scroll Indicator */
  .scroll-indicator {
    position: fixed;
    top: 0;
    right: 10px;
    height: 100vh;
    width: 6px;
    background: rgba(26, 62, 114, 0.2);
    z-index: 9999;
  }

  .scroll-progress {
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 3px;
    transition: height 0.1s ease;
    position: relative;
  }

  .scroll-progress::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
  }

  /* Laser Effects */
  .laser {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
  }

  .laser-beam {
    position: fixed; /* Changed from absolute to fixed */
width: 2px;
height: 100vh; /* Full viewport height */
background: rgba(255, 107, 107, 0.3);
top: 0;
animation: none; /* Remove the old animation */
box-shadow: 0 0 10px 2px var(--primary);
transform: translateY(-100%); /* Start off-screen */
transition: transform 0.1s linear;
  }

  .laser-beam:nth-child(2) {
    
    animation-delay: 2s;
 
    left: 33%;
background: rgba(78, 205, 196, 0.3);
box-shadow: 0 0 10px 2px var(--secondary);
  }

  .laser-beam:nth-child(3) {
    left: 66%;
    animation-delay: 4s;
    background: rgba(253, 203, 110, 0.3);
    box-shadow: 0 0 10px 2px var(--accent);
  }

  @keyframes laserScan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
  }

  /* Responsive Styles */
  @media (max-width: 1200px) {
    .section-title {
      font-size: 2.2rem;
    }
    
    .principal-card {
      max-width: 700px;
    }
    
    .faculty-card {
      width: 280px;
      height: 380px;
    }
  }

  @media (max-width: 992px) {
    .principal-card {
      max-width: 600px;
      height: 350px;
    }
    
    .principal-img {
      width: 150px;
      height: 150px;
    }
    
    .principal-name {
      font-size: 1.8rem;
    }
  }

  @media (max-width: 768px) {
    .page-content {
      padding-top: 150px;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .principal-card {
      max-width: 500px;
      height: 300px;
    }
    
    .principal-img {
      width: 120px;
      height: 120px;
    }
    
    .principal-name {
      font-size: 1.5rem;
    }
    
    .principal-title {
      font-size: 1rem;
    }
    
    .mobile-menu-btn {
      display: block;
    }
    
    ul.nav-links {
      position: fixed;
      top: 0;
      left: -100%;
      width: 80%;
      height: 100vh;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      flex-direction: column;
      justify-content: center;
      transition: all 0.5s ease;
      z-index: 998;
    }
    
    ul.nav-links.active {
      left: 0;
    }
    
    .logo-img {
      height: 80px;
    }
    
    .faculty-card {
      width: 250px;
      height: 350px;
    }
  }

  @media (max-width: 576px) {
    .section-title {
      font-size: 1.8rem;
    }
    
    .principal-card {
      max-width: 100%;
      height: auto;
      margin-bottom: 40px;
    }
    
    .principal-card-inner {
      height: auto;
      min-height: 500px;
    }
    
    .principal-card-front, 
    .principal-card-back {
      position: relative;
      height: auto;
      min-height: 500px;
      transform: none;
      backface-visibility: visible;
    }
    
    .principal-card:hover .principal-card-inner {
      transform: none;
    }
    
    .principal-img {
      width: 150px;
      height: 150px;
    }
    
    .faculty-card {
      width: 100%;
      height: 400px;
    }
  }

  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
  }

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
  }

  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--primary));
  }

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }


   /* Additional Styles for Enhanced Effects */
.faculty-img {
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.9);
}

.faculty-card:hover .faculty-img {
  filter: brightness(1);
  transform: scale(1.1) rotate(2deg);
}

.faculty-overlay {
  transition: all 0.5s ease;
  transform: translateY(20px);
  opacity: 0.9;
}

.faculty-card:hover .faculty-overlay {
  transform: translateY(0);
  opacity: 1;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,48,147,0.1) 0%, rgba(106,48,147,0) 70%);
  animation: floatUp 15s infinite ease-in-out;
  opacity: 0.5;
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-100px) rotate(180deg);
  }
}

/* Glow effect on hover */
.faculty-card:hover {
  z-index: 10;
}

.faculty-card:hover .faculty-card-inner {
  box-shadow: 0 15px 40px rgba(106, 48, 147, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .faculty-card {
    width: 100%;
    max-width: 350px;
  }
  
  .department-section {
    margin-top: 50px;
  }
  
  .department-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .principal-name {
    font-size: 1.5rem;
  }
  
  .principal-title {
    font-size: 1rem;
  }
  
  .principal-quote {
    font-size: 0.9rem;
  }
  
  .faculty-name {
    font-size: 1.3rem;
  }
  
  .faculty-title {
    font-size: 0.9rem;
  }
}


/* Enhanced Particle Background */
.particle-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.particles {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}

.particles-2 {
opacity: 0.6;
}

.particles-3 {
opacity: 0.3;
}

.particle {
position: absolute;
background: rgba(255, 255, 255, 0.8);
border-radius: 50%;
animation: float 15s infinite linear;
filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.particle:nth-child(3n) {
background: rgba(247, 199, 68, 0.8); /* Accent color */
}

.particle:nth-child(5n) {
background: rgba(106, 48, 147, 0.8); /* Primary color */
}

@keyframes float {
0% {
  transform: translateY(100vh) translateX(0) rotate(0deg);
  opacity: 0;
}
10% {
  opacity: 1;
}
90% {
  opacity: 1;
}
100% {
  transform: translateY(-100px) translateX(100px) rotate(360deg);
  opacity: 0;
}
}



.faculty-name{
  color:white;
}


.custom-cursor {  
width: 12px;  
height: 12px;  
border: 1px solid white;  
border-radius: 50%;  
position: fixed;  
pointer-events: none;  
z-index: 9999;  
mix-blend-mode: difference;  
transform: translate(-50%, -50%);  
transition: width 0.2s, height 0.2s, border-color 0.2s;  
}  

/* Hover effects */  
.custom-cursor.hover {  
width: 20px;  
height: 20px;  
border-color: #6E45E2; 
 
}  

.custom-cursor.click {  
animation: clickEffect 0.3s ease-out;  
}  

@keyframes clickEffect {  
0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }  
50% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }  
100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }  
}  






/* All Teachers Section Styles */
.all-teachers-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
}

.section-subtitle {
  text-align: center;
  color: #6a3093;
  font-size: 1.3rem;
  margin: -20px auto 50px;
  font-weight: 300;
  max-width: 800px;
  padding: 0 20px;
  line-height: 1.6;
  animation: fadeIn 1s ease;
}

.teachers-timeline {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}

.timeline-group {
  margin-bottom: 80px;
  position: relative;
}

.timeline-header {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.timeline-header h3 {
  font-size: 2.2rem;
  color: #004e92;
  margin-right: 30px;
  white-space: nowrap;
  background: linear-gradient(90deg, #004e92, #6a3093);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 5s infinite alternate;
  font-weight: 600;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.timeline-line {
  height: 3px;
  background: linear-gradient(90deg, #6a3093, #004e92);
  flex-grow: 1;
  position: relative;
  border-radius: 3px;
}

.timeline-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f7c744;
  box-shadow: 0 0 15px #f7c744;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.teachers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.teacher-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.teacher-photo-container {
  height: 400px;
  position: relative;
  overflow: hidden;
  flex: 1;
}

.teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease, filter 0.5s ease;
  filter: brightness(0.95);
}

.teacher-card:hover .teacher-photo {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(1);
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(247, 199, 68, 0.8);
  filter: drop-shadow(0 0 8px rgba(247, 199, 68, 0.8));
  animation: floatParticle 10s infinite ease-in-out;
  opacity: 0;
  z-index: 2;
}

.particle-1 {
  width: 12px;
  height: 12px;
  top: 15%;
  left: 10%;
  animation-delay: 0.5s;
}

.particle-2 {
  width: 16px;
  height: 16px;
  top: 65%;
  left: 85%;
  animation-delay: 1.5s;
}

.particle-3 {
  width: 10px;
  height: 10px;
  top: 35%;
  left: 75%;
  animation-delay: 2.5s;
}

.particle-4 {
  width: 14px;
  height: 14px;
  top: 85%;
  left: 15%;
  animation-delay: 3.5s;
}

.particle-5 {
  width: 8px;
  height: 8px;
  top: 50%;
  left: 50%;
  animation-delay: 4.5s;
}

@keyframes floatParticle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  20%, 80% {
    opacity: 0.8;
  }
  50% {
    transform: translate(30px, -30px) scale(1.2);
    opacity: 1;
  }
}

.teacher-card:hover .particle {
  animation: floatParticleHover 6s infinite ease-in-out;
}

@keyframes floatParticleHover {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(20px, -20px) scale(1.5);
    opacity: 1;
  }
}

.teacher-info {
  padding: 30px;
  position: relative;
  background: white;
  z-index: 3;
}

.teacher-info h4 {
  font-size: 1.8rem;
  color: #004e92;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.teacher-info h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #f7c744;
  transition: width 0.5s ease;
  border-radius: 3px;
}

.teacher-card:hover .teacher-info h4::after {
  width: 100px;
}

.teacher-info p {
  color: #6a3093;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.teacher-bio {
  color: #555;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease, padding-top 0.8s ease;
  font-size: 1rem;
}

.teacher-card:hover .teacher-bio {
  max-height: 150px;
  padding-top: 15px;
}

/* Current vs Former Teacher Styles */
.current-teachers .teacher-card {
  border-top: 6px solid #4CAF50;
}

.former-teachers .teacher-card {
  border-top: 6px solid #9C27B0;
}

.current-teachers .particle {
  background: rgba(76, 175, 80, 0.8);
  filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.8));
}

.former-teachers .particle {
  background: rgba(156, 39, 176, 0.8);
  filter: drop-shadow(0 0 8px rgba(156, 39, 176, 0.8));
}

/* Responsive Styles - Laptop (1024px) */
@media (max-width: 1024px) {
  .teacher-photo-container {
    height: 350px;
  }
  
  .teacher-info h4 {
    font-size: 1.6rem;
  }
  
  .teacher-info p {
    font-size: 1rem;
  }
}

/* Tablet (768px) */
@media (max-width: 768px) {
  .all-teachers-section {
    padding: 60px 0;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }
  
  .timeline-header h3 {
    font-size: 1.8rem;
    margin-right: 20px;
  }
  
  .teacher-card {
    min-height: 450px;
  }
  
  .teacher-photo-container {
    height: 300px;
  }
  
  .teacher-info {
    padding: 25px;
  }
  
  .teacher-info h4 {
    font-size: 1.5rem;
  }
  
  .teacher-card:hover .teacher-bio {
    max-height: 200px;
  }
}

/* Mobile (576px) */
@media (max-width: 576px) {
  .all-teachers-section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
  }
  
  .timeline-header h3 {
    margin-bottom: 15px;
    white-space: normal;
    font-size: 1.6rem;
  }
  
  .timeline-line {
    width: 100%;
  }
  
  .teacher-card {
    min-height: 400px;
    border-radius: 15px;
  }
  
  .teacher-photo-container {
    height: 250px;
  }
  
  .teacher-info {
    padding: 20px;
  }
  
  .teacher-info h4 {
    font-size: 1.4rem;
  }
  
  .teacher-info p {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .teacher-bio {
    font-size: 0.9rem;
  }
  
  .particle {
    width: 8px !important;
    height: 8px !important;
  }
}

/* Small Mobile (400px) */
@media (max-width: 400px) {
  .teacher-photo-container {
    height: 220px;
  }
  
  .teacher-card {
    min-height: 380px;
  }
  
  .teacher-info h4 {
    font-size: 1.3rem;
  }
}*/



/* Footer Styles */
.holographic-footer {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: var(--text-light);
padding: 50px 0 20px;
overflow: hidden;

}

.footer-container {
max-width: 1200px;
margin: auto;
padding: 10 20px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 40px;
background-color: #001aff;
margin-bottom: 0;



}

.footer-logo {
flex: 1 1 250px;
}

.footer-logo img {
width: 120px;
height: auto;
margin-bottom: 20px;
border-radius: 10px;
border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-logo h3 {
font-size: 1.5rem;
margin-bottom: 10px;
}

.footer-logo p {
font-size: 0.9rem;
opacity: 0.8;
}

.footer-links {
flex: 2 1 500px;
display: flex;
flex-wrap: wrap;
gap: 40px;
}

.footer-section {
flex: 1 1 200px;
}

.footer-section h4 {
font-size: 1.2rem;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
}

.footer-section h4::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background: var(--accent);
transition: width 0.3s ease;
}

.footer-section:hover h4::after {
width: 80px;
}

.footer-section ul {
list-style: none;
padding: 0;
margin: 0;
}

.footer-section ul li {
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 10px;
transition: transform 0.3s ease;
}

.footer-section ul li:hover {
transform: translateX(5px);
}

.footer-section ul li i {
color: var(--accent);
font-size: 0.9rem;
}

.footer-section ul li a {
color: white;
text-decoration: none;
transition: color 0.3s ease;
}

.footer-section ul li a:hover {
color: var(--accent);
}

.footer-bottom {
text-align: center;
padding-top: 30px;
margin-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
font-size: 0.9rem;
opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
.footer-container {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-links {
  justify-content: center;
}

.footer-section {
  flex: 1 1 100%;
}

.footer-section ul li {
  justify-content: center;
}

.footer-section h4::after {
  left: 50%;
  transform: translateX(-50%);
}
}

@media (max-width: 576px) {
.footer-logo img {
  width: 100px;
}

.footer-logo h3 {
  font-size: 1.3rem;
}

.footer-links {
  flex-direction: column;
  gap: 30px;
}
}


@media (max-width: 575px) {

/* .logo-img {
  height: 60px;
  padding: 9px;
} */
.logo-main {
  font-size: 20px;
}
.logo-sub {
  font-size: 0.5rem;
  letter-spacing: 0;
}
.logo-container{
  gap: 10px;
}
}


#fuck{
color: white;
}
#hello{
color: rgb(255, 255, 255);
}
