/* Global resets and smooth scrolling */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
}

h1, h2, h3, h4, .font-readex {
  font-family: 'Readex Pro', sans-serif;
}

/* Custom Scrollbar for Guestbook */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(53, 127, 116, 0.5);
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(53, 127, 116, 0.8);
}

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

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

/* Page Transition Animation */
.page-enter {
  animation: fadeIn 0.5s ease-out forwards;
}

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

/* Custom Scrollbar for dark theme */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0A191E;
}

::-webkit-scrollbar-thumb {
  background: #11232A;
  border: 1px solid #0A191E;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #357F74;
}

/* Card Hover Effects */
.student-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.student-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 127, 116, 0.5);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.student-card img {
  transition: transform 0.3s ease;
}

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

.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}
