/* Smooth scroll for internal links */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
}

.font-brand {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1.5px;
}

.glass {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 8px 32px rgba(45,88,176,0.07);
  background: rgba(255,255,255,0.90);
}

/* Navbar hide on scroll styles */
.main-header {
  transition: transform 0.3s ease-out;
}

.main-header.hidden-nav {
  transform: translateY(-100%);
}

/* Back to Top Button styles */
#back-to-top {
  position: fixed;
  bottom: 85px;
  right: 5px;
  background-color: #2563eb;
  color: white;
  padding: 12px 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background-color: #1d4ed8;
  transform: translateY(-3px);
}