* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Custom Fonts */
.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-dm-sans {
  font-family: 'DM Sans', sans-serif;
}

.font-space-grotesk {
  font-family: 'Space Grotesk', sans-serif;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

h1 {
  animation: fadeInUp 1s ease-out;
}

h2 {
  animation: fadeInUp 0.8s ease-out;
}

/* Hover Effects */
a {
  transition: all 0.3s ease;
}

button {
  transition: all 0.3s ease;
}

/* Image Hover Zoom */
img {
  transition: transform 0.4s ease;
}

.group:hover img {
  transform: scale(1.08);
}

/* Smooth Link Underline */
.link-underline {
  position: relative;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

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

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Reveal Animation */
section {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Card Hover Effect */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

/* Button Hover Effects */
.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

/* Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}

/* Mobile Menu Animation */
#mobileMenu {
  animation: slideInLeft 0.3s ease;
}

#mobileMenu.hidden {
  animation: none;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.875rem;
  }
}

/* Focus Styles */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  ring: 2px;
  ring-color: #2563eb;
}

/* Utility Classes */
.text-shadow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bg-blur {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

