@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

.transition-all {
  transition: all 0.3s ease;
}

.transition-transform {
  transition: transform 0.3s ease;
}

.transition-opacity {
  transition: opacity 0.3s ease;
}

.card-tilt {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.1s ease;
}

.card-tilt:hover {
  transform: scale(1.02);
}

.card-tilt-inner {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.btn-glow {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-glow:before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  background-size: 400%;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.btn-glow:hover:before {
  opacity: 1;
  animation: glowing 20s linear infinite;
}

@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

.btn-hover-effect {
  transition: all 0.3s ease;
}

.btn-hover-effect:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .card-tilt:hover {
    transform: none;
  }
  
  .btn-hover-effect:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.95rem;
  }
  
  .btn-glow:before {
    display: none;
  }
}