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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Navigation Styles */
.nav-link {
  position: relative;
  font-weight: 500;
  color: #374151;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #0066FF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0066FF;
  transition: width 0.3s ease;
}

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

/* Animation Classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

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

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

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
  color: white;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(0, 102, 255, 0.1);
  border-top: 3px solid #0066FF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

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

::-webkit-scrollbar-thumb {
  background: #0066FF;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0052cc;
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #0066FF;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  nav,
  footer {
    display: none;
  }
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

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

.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Hero Section Animations */
.hero-bg {
  background: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form Styles */
input:focus,
textarea:focus,
select:focus {
  border-color: #0066FF;
  ring: 2px;
  ring-color: rgba(0, 102, 255, 0.2);
}

/* Success/Error Messages */
.success-message {
  background-color: #10B981;
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  animation: fadeIn 0.5s ease-out;
}

.error-message {
  background-color: #EF4444;
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  animation: fadeIn 0.5s ease-out;
}

/* Dropdown Menu Styles */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #374151;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #F3F4F6;
  color: #0066FF;
}

.dropdown-item i {
  font-size: 1.125rem;
  width: 1.5rem;
  text-align: center;
}

/* Mobile Dropdown */
.mobile-dropdown button {
  text-align: left;
}

.mobile-dropdown .rotate-180 {
  transform: rotate(180deg);
}


