/* Base Styles and Variables */
:root { 
  --animation-curve: cubic-bezier(0.65, 0, 0.35, 1); 
  --transition-fast: 0.3s var(--animation-curve);
  --transition-medium: 0.5s var(--animation-curve);
  --transition-slow: 0.8s var(--animation-curve); 
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-dark: linear-gradient(135deg, #003a57, #005a87);
  --gradient-text: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  --glow-primary: 0 0 15px rgba(0, 90, 135, 0.5);
  --glow-secondary: 0 0 15px rgba(248, 180, 0, 0.5);
}


/* Hero Section with Parallax and Video */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  background-color: #004a70;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  will-change: transform;
}

.parallax-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.slide-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  background-color: rgba(0, 90, 135, 0.7);
  transform: scale(1.1);
  transition: transform 10s ease;
}

.slide.active .slide-video-bg {
  transform: scale(1);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  max-width: 800px;
  color: white;
  z-index: 3;
}

.slide-content h1 {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.slide-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.hero-buttons .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

.hero-buttons .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.6s ease;
  z-index: -1;
}

.hero-buttons .btn:hover::before {
  transform: translateX(100%) rotate(45deg);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid white;
  border-radius: 20px;
  position: relative;
  margin-bottom: 10px;
}

.wheel {
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInOut 2s infinite;
}

.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
  margin: -5px;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  z-index: 10;
}

.prev-slide,
.next-slide {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.prev-slide::before,
.next-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  transform: scale(0);
  transition: transform 0.5s ease;
}

.prev-slide:hover::before,
.next-slide:hover::before {
  transform: scale(2);
}

.prev-slide:hover,
.next-slide:hover {
  background: white;
  color: var(--primary-color);
  transform: scale(1.1);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.slider-dots {
  display: flex;
  gap: 15px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--secondary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.dot.active::after {
  width: 8px;
  height: 8px;
}

.dot.active {
  background: transparent;
  transform: scale(1.3);
  box-shadow: var(--glow-secondary);
  border: 2px solid var(--secondary-color);
}

/* Welcome Notes Section */
.welcome-notes {
  padding: 100px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.welcome-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.welcome-image {
  flex: 0 0 350px;
  position: relative;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-medium);
}

.image-wrapper:hover {
  transform: translateY(-10px);
}

.welcome-image img {
  width: 100%;
  display: block;
  transition: transform 0.8s ease;
}

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 90, 135, 0.8), rgba(0, 90, 135, 0));
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.welcome-image:hover .image-overlay {
  background-color: rgba(90, 135, 0, 0.5); /* Add background color with opacity */
  opacity: 0.5;
  transition: opacity 0.3s ease;
}


.welcome-image:hover .image-overlay {
  opacity: 0.7;
}

.welcome-signature {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-medium);
  z-index: 2;
}

.welcome-signature:hover {
  transform: translateY(-5px) rotate(2deg);
}

.welcome-signature img {
  width: 150px;
  margin-bottom: 10px;
  box-shadow: none;
  transition: transform 0.3s ease;
}

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

.welcome-signature p {
  font-size: 14px;
  margin: 0;
  color: #333;
  font-weight: 500;
}

.welcome-message {
  flex: 1;
}

.message-content {
  margin-top: 20px;
}

.lead-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-family: "Playfair Display", serif;
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

.lead-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.message-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #555;
}

.message-content .btn {
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.message-content .btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: left 0.5s ease;
}

.message-content .btn:hover::after {
  left: 100%;
}

/* Quick Links with 3D Tilt Effect */
.quick-links {
  padding: 120px 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.quick-links::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%23005a87' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.quick-links .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.quick-link-card {
  background-color: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-content {
  position: relative;
  z-index: 2;
  transform: translateZ(20px);
}

.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 60%);
  transform: translateZ(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.quick-link-card:hover .card-glare {
  opacity: 1;
}

.quick-link-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: height 0.4s ease;
  z-index: 0;
}

.quick-link-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
  box-shadow: var(--shadow-xl);
}

.quick-link-card:hover::before {
  height: 100%;
  opacity: 0.1;
}

.icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.2rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 90, 135, 0.2);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(255, 255, 255, 0.3), transparent 30%);
  animation: rotate 4s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}

.quick-link-card:hover .icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 25px rgba(0, 90, 135, 0.3);
}

.quick-link-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-weight: 600;
  transition: transform 0.3s ease;
}

.quick-link-card:hover h3 {
  transform: translateZ(5px);
}

.quick-link-card p {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}

.quick-link-card:hover p {
  transform: translateZ(5px);
}

.link-arrow {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.link-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.link-arrow:hover {
  gap: 12px;
}

.link-arrow:hover::after {
  width: 100%;
}

/* News & Events with Advanced Card Effects */
.news-events {
  padding: 120px 0;
  background-color: #f8f9fa;
  position: relative;
}

.news-events::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23005a87' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.news-grid {
  display: flex;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Remove the initial transform and opacity that hide the cards */
  /* transform: translateY(30px); */
  /* opacity: 0; */
}

.news-card-only {
  width: 400px!important;
  float:left!important;
}
.news-card.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.news-card.featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: auto;
}

.news-card:not(.featured) {
  grid-column: span 6;
}

.news-image {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 60%;
}

.news-card.featured .news-image {
  height: 100%;
  padding-bottom: 0;
}

.news-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  will-change: transform;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-overlay {
  opacity: 0.9;
}

.news-category {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.news-card:hover .news-category {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-category.research {
  background-color: #e74c3c;
  color: #fff;
}

.news-category.events {
  background-color: #3498db;
  color: #fff;
}

.news-category.students {
  background-color: #2ecc71;
  color: #fff;
}

.news-category.faculty {
  background-color: #9b59b6;
  color: #fff;
}

.news-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #6c757d;
}

.news-date,
.news-views {
  display: flex;
  align-items: center;
}

.news-date i,
.news-views i {
  margin-right: 6px;
  font-size: 0.85rem;
}

.news-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: #333;
  transition: color 0.3s ease;
}

.news-card:hover h3 {
  color: #005a87;
}

.news-card p {
  color: #6c757d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: #005a87;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
  align-self: flex-start;
  margin-top: auto;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #005a87;
  transition: width 0.3s ease;
}

.read-more:hover {
  color: #003e5f;
}

.read-more:hover::after {
  width: 100%;
}

.read-more i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}
/* Academic Programs with Interactive Tabs */
.academic-programs {
  padding: 120px 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.academic-programs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23005a87' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.academic-programs .section-header h2 {
  font-size: 2.8rem;
}

.programs-tabs {
  margin-top: 60px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 10px;
}

.tab-btn {
  background: white;
  border: none;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.tab-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.tab-btn.active::before,
.tab-btn:hover::before {
  opacity: 1;
}

.tab-btn.active {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tab-btn:hover:not(.active) {
  color: white;
  transform: translateY(-2px);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
  display: block;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.program-card {
  background-color: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.program-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
  box-shadow: var(--shadow-xl);
}

.program-card:hover::before {
  opacity: 1;
}

.program-icon {
  width: 90px;
  height: 90px;
  background-color: var(--bg-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.2rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
  transform: translateZ(20px);
}

.program-card:hover .program-icon {
  background-color: white;
  transform: translateZ(30px) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.program-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-color);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  transform: translateZ(15px);
}

.program-card p {
  color: var(--text-light);
  margin-bottom: 25px;
  min-height: 50px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  transform: translateZ(10px);
}

.program-card:hover h3,
.program-card:hover p {
  color: white;
}

.program-card .btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  transform: translateZ(15px);
}

.program-card:hover .btn-outline {
  background-color: white;
  border-color: white;
  color: var(--primary-color);
}

/* Campus Showcase with Interactive Gallery */
.campus-showcase {
  padding: 120px 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.campus-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23005a87' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.campus-showcase .section-header h2 {
  font-size: 2.8rem;
}

.campus-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 25px;
  margin-bottom: 50px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(0.95);
  opacity: 0.8;
}

.gallery-item.in-view {
  transform: scale(1);
  opacity: 1;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
  opacity: 0.7;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
  z-index: 2;
}

.gallery-item:hover::before {
  opacity: 0.9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  color: white;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(-10px);
}

.gallery-caption h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-caption p {
  font-size: 1rem;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.campus-cta {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.campus-cta .btn {
  padding: 14px 30px;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.campus-cta .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: left 0.5s ease;
}

.campus-cta .btn:hover::before {
  left: 100%;
}

.campus-cta .btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}


/* Research Highlights with Parallax Effect */

/* Research Highlights */
.research-highlights {
  padding: 100px 0;
  background-color: var(--bg-light);
  position: relative;
  z-index: 1;
  padding-bottom: 120px;
}

.research-highlights::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23005a87' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.research-highlights .section-header h2 {
  font-size: 2.8rem;
}

.research-highlights .section-header h2::after {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  height: 4px;
  width: 100px;
}

.research-slider {
  position: relative;
  margin-top: 60px;
}

.research-slide {
  display: none;
}

.research-slide.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: fadeIn 0.5s ease forwards;
}

.research-content h3 {
  font-family: var(--font-secondary);
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.research-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.research-content p {
  color: var(--text-light);
  margin-bottom: 35px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.research-content .btn-outline {
  padding: 14px 30px;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.research-content .btn-outline:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.research-image {
  position: relative;
}

.research-image::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.research-image:hover::before {
  top: 15px;
  left: 15px;
  opacity: 0.5;
}

.research-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.research-image:hover img {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.research-controls {
  position: relative;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  z-index: 5;
}

.prev-research,
.next-research {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 90, 135, 0.2);
  border: none;
  font-size: 1.2rem;
}

.prev-research:hover,
.next-research:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0, 90, 135, 0.3);
}

.research-dots {
  display: flex;
  gap: 15px;
}

.research-dots .dot {
  width: 14px;
  height: 14px;
  background: rgba(0, 90, 135, 0.2);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.research-dots .dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(0, 90, 135, 0.5);
  border: 2px solid white;
}

/* Testimonials with 3D Cards */
.testimonials {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  padding-bottom: 150px;
  background-color: white;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23005a87' fill-opacity='0.03'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials .section-header h2 {
  font-size: 2.8rem;
}

.testimonial-slider {
  position: relative;
  margin-top: 60px;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  background-color: white;
  padding: 50px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 120px;
  line-height: 1;
  font-family: serif;
  color: var(--primary-color);
  opacity: 0.1;
  transform: translateZ(10px);
}

.testimonial-image {
  flex-shrink: 0;
  transform: translateZ(20px);
}

.testimonial-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-image img {
  transform: scale(1.05);
}

.testimonial-content {
  flex: 1;
  position: relative;
  z-index: 1;
  transform: translateZ(15px);
}

.testimonial-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-author h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.testimonial-author p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
  font-style: normal;
}

.testimonial-controls {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 60px auto 0;
  z-index: 5;
  max-width: 800px;
  padding: 15px 0;
  background: transparent;
}

.prev-testimonial,
.next-testimonial {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border: none;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.prev-testimonial::before,
.next-testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  transform: scale(0);
  transition: transform 0.5s ease;
}

.prev-testimonial:hover::before,
.next-testimonial:hover::before {
  transform: scale(2);
}

.prev-testimonial:hover,
.next-testimonial:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.testimonial-dots {
  display: flex;
  gap: 15px;
}

.testimonial-dots .dot {
  width: 14px;
  height: 14px;
  background: rgba(0, 90, 135, 0.2);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
  box-shadow: var(--glow-primary);
  border: 2px solid white;
}



/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .slide-content h1 {
    font-size: 3rem;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .news-card.featured {
    grid-template-columns: 1fr;
  }

  .custom-cursor {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero {
    height: 600px;
  }

  .quick-links .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .campus-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .research-slide.active {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .research-content {
    order: 2;
  }

  .research-image {
    order: 1;
  }

  .testimonial-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
  }

  .welcome-content {
    flex-direction: column;
  }

  .welcome-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 60px;
  }

  .welcome-signature {
    right: 0;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 500px;
  }


  .section-header .view-all {
    position: relative;
    display: inline-flex;
    margin-top: 10px;
    right: auto;
    top: auto;
  }

  .section-header {
    text-align: center;
  }

  .section-header h2 {
    font-size: 2.4rem;
  }

  .cta-content h2 {
    font-size: 2.5rem;
  }

  .cta-content p {
    font-size: 1.2rem;
  }

  .lead-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 450px;
  }


  .quick-links .container {
    grid-template-columns: 1fr;
  }

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

  .campus-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }

  .gallery-item.large {
    grid-column: auto;
    grid-row: auto;
  }

  .campus-cta {
    flex-direction: column;
    gap: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .research-content h3 {
    font-size: 1.8rem;
  }

  .welcome-signature {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 20px;
  }
}




.campus-galleryt h2 {
  color: #0a4870;
  font-weight: 500;
}

.campus-galleryt ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-left: 10%;
  margin-right: 5%;
}

.campus-galleryt ul .booking-card {
  position: relative;
  width: 300px;
  display: flex;
  flex: 0 0 300px;
  flex-direction: column;
  margin: 10px;
  margin-bottom: 20px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #0a4870;
  transition: 0.3s;
}

.campus-galleryt ul .booking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 72, 112, 0);
  transition: 0.3s;
}

.campus-galleryt ul .booking-card .book-container {
  height: 200px;
}

.campus-galleryt ul .booking-card .book-container .content {
  position: relative;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  transform: translateY(-200px);
  transition: 0.3s;
}

.campus-galleryt ul .booking-card .book-container .content .btn {
  border: 3px solid white;
  padding: 10px 15px;
  background: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.3em;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.campus-galleryt ul .booking-card .book-container .content .btn:hover {
  background: white;
  border: 0px solid white;
  color: #0a4870;
}

.campus-galleryt ul .booking-card .informations-container {
  flex: 1 0 auto;
  padding: 20px;
  background: #f0f0f0;
  transform: translateY(206px);
  transition: 0.3s;
}

.campus-galleryt ul .booking-card .informations-container .title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.2em;
}

.campus-galleryt ul .booking-card .informations-container .title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  width: 50px;
  margin: auto;
  background: #0a4870;
}

.campus-galleryt ul .booking-card .informations-container .price {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.campus-galleryt ul .booking-card .informations-container .price .icon {
  margin-right: 10px;
}

.campus-galleryt ul .booking-card .informations-container .more-information {
  opacity: 0;
  transition: 0.3s;
}

.campus-galleryt ul .booking-card .informations-container .more-information .info-and-date-container {
  display: flex;
}

.campus-galleryt ul .booking-card .informations-container .more-information .info-and-date-container .box {
  flex: 1 0;
  padding: 15px;
  margin-top: 20px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  background: white;
  font-weight: bold;
  font-size: 0.9em;
}

.campus-galleryt ul .booking-card .informations-container .more-information .info-and-date-container .box .icon {
  margin-bottom: 5px;
}

.campus-galleryt ul .booking-card .informations-container .more-information .info-and-date-container .box.info {
  color: #ec992c;
  margin-right: 10px;
}

.campus-galleryt ul .booking-card .informations-container .more-information .disclaimer {
  margin-top: 20px;
  font-size: 0.8em;
  color: #7d7d7d;
}

.campus-galleryt ul .booking-card:hover::before {
  background: rgba(10, 72, 112, 0.6);
}

.campus-galleryt ul .booking-card:hover .book-container .content {
  opacity: 1;
  transform: translateY(0px);
}

.campus-galleryt ul .booking-card:hover .informations-container {
  transform: translateY(0px);
}

.campus-galleryt ul .booking-card:hover .informations-container .more-information {
  opacity: 1;
}

@media (max-width: 768px) {
  .campus-galleryt ul .booking-card::before {
    background: rgba(10, 72, 112, 0.6);
  }
  
  .campus-galleryt ul .booking-card .book-container .content {
    opacity: 1;
    transform: translateY(0px);
  }
  
  .campus-galleryt ul .booking-card .informations-container {
    transform: translateY(0px);
  }
  
  .campus-galleryt ul .booking-card .informations-container .more-information {
    opacity: 1;
  }
}

.campus-galleryt .credits {
  display: table;
  background: #0a4870;
  color: white;
  line-height: 25px;
  margin: 10px auto;
  padding: 20px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  text-align: center;
}

.campus-galleryt .credits a {
  color: #e3ebf1;
}

.campus-galleryt h1 {
  margin: 10px 20px;
}


