* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  line-height: 1.6;
  color: #1f2937;
  scroll-behavior: smooth;
}

.hero-pattern {
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
  background-size: 32px 32px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: #4b5563;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
}

.nav-link:hover {
  background-color: #f3f4f6;
  color: #01498e;
}

.nav-link.active {
  background-color: #01498e;
  color: white;
}

.mobile-nav-link {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: #4b5563;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}

.mobile-nav-link:hover {
  background-color: #f3f4f6;
  color: #01498e;
}

.btn-primary {
  background-color: #01498e;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #013a71;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 73, 142, 0.3);
}

.btn-secondary {
  background-color: white;
  color: #01498e;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: 2px solid #01498e;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background-color: #01498e;
  color: white;
  transform: translateY(-2px);
}

.btn-hero-primary {
  background-color: white;
  color: #01498e;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
  background-color: transparent;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: 2px solid white;
  transition: all 0.3s;
}

.btn-hero-secondary:hover {
  background-color: white;
  color: #01498e;
  transform: translateY(-2px);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #01498e;
  position: relative;
  display: inline-block;
}

.card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.font-cursive {
  font-family: 'Brush Script MT', cursive;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 2px solid #e5e7eb;
  background-color: white;
  color: #6b7280;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: #01498e;
  color: #01498e;
}

.filter-btn.active {
  background-color: #01498e;
  border-color: #01498e;
  color: white;
}

.faculty-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: scale(1);
}

.faculty-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

.faculty-card.hidden {
  display: none;
}

.faculty-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
}

.btn-card-primary {
  width: 100%;
  padding: 0.75rem;
  background-color: #01498e;
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-card-primary:hover {
  background-color: #013a71;
  transform: translateY(-2px);
}

.btn-card-secondary {
  width: 100%;
  padding: 0.75rem;
  background-color: #be321a;
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-card-secondary:hover {
  background-color: #9a2815;
  transform: translateY(-2px);
}

.btn-card-green {
  width: 100%;
  padding: 0.75rem;
  background-color: #059669;
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-card-green:hover {
  background-color: #047857;
  transform: translateY(-2px);
}

.infrastructure-item {
  cursor: pointer;
  transition: all 0.3s;
}

.infrastructure-item:hover {
  transform: translateY(-4px);
}

.infrastructure-item:hover .aspect-video {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.infrastructure-caption {
  padding: 1rem 0.5rem;
  text-align: center;
}

.infrastructure-caption h3 {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.infrastructure-caption p {
  font-size: 0.875rem;
  color: #6b7280;
}

.admin-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s;
}

.admin-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.admin-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #01498e, #0369a1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}

.admin-name {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.admin-role {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.admin-contact {
  font-size: 0.75rem;
  color: #01498e;
  font-weight: 500;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #01498e;
  box-shadow: 0 0 0 3px rgba(1, 73, 142, 0.1);
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: inherit;
}

.social-icon:hover {
  background-color: #01498e;
  transform: translateY(-2px);
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-link:hover {
  color: white;
}

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #01498e;
  color: white;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  z-index: 1000;
}

.scroll-to-top:hover {
  background-color: #013a71;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
  display: flex;
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.875rem;
  }

  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
