/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation Classes */
.anim-fade-up {
  opacity: 0;
}

.anim-fade-up.visible {
  animation: fadeUp 0.7s ease forwards;
}

.anim-fade-in {
  opacity: 0;
}

.anim-fade-in.visible {
  animation: fadeIn 0.8s ease forwards;
}

.anim-slide-left {
  opacity: 0;
}

.anim-slide-left.visible {
  animation: slideLeft 0.7s ease forwards;
}

.anim-slide-right {
  opacity: 0;
}

.anim-slide-right.visible {
  animation: slideRight 0.7s ease forwards;
}

/* Delay Classes */
.delay-1 {
  animation-delay: 0.1s !important;
}

.delay-2 {
  animation-delay: 0.2s !important;
}

.delay-3 {
  animation-delay: 0.3s !important;
}

.delay-4 {
  animation-delay: 0.4s !important;
}

.delay-5 {
  animation-delay: 0.5s !important;
}

/* Hero Background */
.hero-bg {
  background: linear-gradient(135deg, #00235d 0%, #001a47 40%, #000e2b 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(0, 60, 160, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0, 80, 200, 0.08) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Buttons */
.btn-primary {
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 35, 93, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 35, 93, 0.45);
}

.btn-secondary {
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Card Hover */
.card-hover {
  transition: all 0.35s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 35, 93, 0.1);
}

/* Service Block */
.service-block {
  transition: all 0.3s ease;
}

.service-block:hover {
  border-color: #00235d;
  box-shadow: 0 8px 30px rgba(0, 35, 93, 0.08);
}

/* Navigation Link */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00235d;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Form Input */
.form-input {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  border-color: #00235d;
  box-shadow: 0 0 0 3px rgba(0, 35, 93, 0.08);
}

/* Toast Message */
.toast-msg {
  animation: fadeUp 0.4s ease;
}
