/* ============================================================================
   MODERN ENHANCEMENTS - Premium Visual Effects & Animations
   ============================================================================
   A collection of cutting-edge CSS effects for a standout modern website
   ============================================================================ */

/* ============================================================================
   1. KEYFRAME ANIMATIONS
   ============================================================================ */

/* Shimmer effect for buttons */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Pulse glow effect */
@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(30, 74, 134, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(30, 74, 134, 0.6);
  }
}

/* Gradient shift animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Float animation for decorative elements */
@keyframes gentle-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-10px) rotate(1deg);
  }

  66% {
    transform: translateY(-5px) rotate(-1deg);
  }
}

/* Scale pulse for icons */
@keyframes icon-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Fade slide up animation */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade slide left animation */
@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade slide right animation */
@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Border rotation for cards */
@keyframes border-rotate {
  0% {
    --angle: 0deg;
  }

  100% {
    --angle: 360deg;
  }
}

/* Floating particles */
@keyframes particle-float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }

  25% {
    transform: translateY(-30px) translateX(10px);
    opacity: 1;
  }

  50% {
    transform: translateY(-50px) translateX(-5px);
    opacity: 0.8;
  }

  75% {
    transform: translateY(-30px) translateX(-10px);
    opacity: 0.6;
  }
}

/* Ripple effect */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }

  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* Counter animation */
@keyframes count-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typewriter cursor blink */
@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* Spin animation for loading/icons */
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Bounce subtle */
@keyframes bounce-subtle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Glow pulse for badges */
@keyframes glow-pulse {

  0%,
  100% {
    filter: drop-shadow(0 0 3px currentColor);
  }

  50% {
    filter: drop-shadow(0 0 10px currentColor);
  }
}

/* ============================================================================
   2. ENHANCED BUTTONS - Shimmer & Glow Effects
   ============================================================================ */

/* Primary button with shimmer effect */
.btn-shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e4a86 0%, #2563eb 100%);
  border: none;
  color: #fff;
}

.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.5s ease;
}

.btn-shimmer:hover::before {
  left: 100%;
}

/* Magnetic button effect */
.btn-magnetic {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.btn-magnetic:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 10px 40px rgba(0, 56, 117, 0.3),
    0 0 0 1px rgba(0, 150, 199, 0.2);
}

.btn-magnetic:active {
  transform: translateY(-1px) scale(0.98);
}

/* Glowing button */
.btn-glow {
  position: relative;
  z-index: 1;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #1e4a86 0%, #2563eb 50%, #1e4a86 100%);
  background-size: 200% 200%;
  z-index: -1;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.3s ease;
  animation: gradient-shift 3s ease infinite;
}

.btn-glow:hover::after {
  opacity: 0.7;
}

/* Ripple button effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple .ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: ripple 0.6s linear forwards;
  pointer-events: none;
}

/* Gradient border button */
.btn-gradient-border {
  position: relative;
  background: transparent;
  border: none;
  padding: 0.85rem 2rem;
  color: #fff;
  z-index: 1;
}

.btn-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #1e4a86, #2563eb, #1e4a86);
  background-size: 200% 200%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradient-shift 3s ease infinite;
}

.btn-gradient-border:hover {
  background: rgba(0, 150, 199, 0.1);
}

/* ============================================================================
   3. ENHANCED CARDS - 3D Tilt & Premium Effects
   ============================================================================ */

/* 3D tilt card */
.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.card-3d:hover {
  transform: rotateX(5deg) rotateY(-5deg) translateZ(10px);
  box-shadow:
    20px 20px 60px rgba(15, 23, 42, 0.15),
    -5px -5px 30px rgba(255, 255, 255, 0.1);
}

/* Gradient border card */
.card-gradient-border {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: none;
  border-radius: var(--radius-xl, 1rem);
  overflow: hidden;
}

.card-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(0, 56, 117, 0.3), rgba(0, 150, 199, 0.5), rgba(0, 56, 117, 0.3));
  background-size: 200% 200%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradient-shift 4s ease infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-gradient-border:hover::before {
  opacity: 1;
}

/* Glassmorphism card */
.card-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Hover lift with glow */
.card-hover-glow {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.card-hover-glow:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 25px 50px rgba(0, 56, 117, 0.15),
    0 0 0 1px rgba(0, 150, 199, 0.1),
    0 0 40px rgba(0, 150, 199, 0.1);
}

/* Icon bounce on card hover */
.card-icon-animate:hover .card-icon {
  animation: icon-pulse 0.6s ease;
}

.card-icon-animate:hover .card-icon i {
  color: #2563eb;
  transition: color 0.3s ease;
}

/* ============================================================================
   4. SERVICE GRID CARDS - Enhanced Styles
   ============================================================================ */

/* Overlay gradient enhancement */
.service-card-overlay {
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.1) 30%,
      rgba(0, 0, 0, 0.6) 70%,
      rgba(0, 0, 0, 0.85) 100%);
  transition: background 0.4s ease;
}

.service-grid-item:hover .service-card-overlay {
  background: linear-gradient(180deg,
      rgba(0, 56, 117, 0.1) 0%,
      rgba(0, 56, 117, 0.2) 30%,
      rgba(0, 0, 0, 0.7) 70%,
      rgba(0, 0, 0, 0.9) 100%);
}

/* Service card zoom effect */
.service-grid-item {
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.service-grid-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-grid-item:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 150, 199, 0.2);
}

.service-grid-item:hover::before {
  transform: scale(1.1);
}

/* Arrow animation on service cards */
.service-grid-item .fa-arrow-right {
  transition: transform 0.3s ease;
}

.service-grid-item:hover .fa-arrow-right {
  transform: translateX(5px);
}

/* Text shadow for service cards */
.text-shadow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ============================================================================
   5. SCROLL-TRIGGERED ANIMATIONS
   ============================================================================ */

/* Elements waiting to be animated */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* PUBLIC PAGES - PREMIUM SCROLL SEQUENCES */
.public-scroll-section {
  --public-scroll-duration: 0.9s;
  --public-scroll-timing: cubic-bezier(0.25, 0.8, 0.25, 1);
  --public-scroll-offset-x: 0px;
  --public-scroll-offset-y: 48px;
  --public-scroll-scale: 0.985;
  --public-scroll-blur: 12px;
  position: relative;
  isolation: isolate;
}

html.public-scroll-ready .public-scroll-section {
  opacity: 0;
  transform: translate3d(var(--public-scroll-offset-x), var(--public-scroll-offset-y), 0) scale(var(--public-scroll-scale));
  filter: blur(var(--public-scroll-blur));
  transition:
    opacity var(--public-scroll-duration) var(--public-scroll-timing),
    transform var(--public-scroll-duration) var(--public-scroll-timing),
    filter calc(var(--public-scroll-duration) * 0.85) var(--public-scroll-timing);
}

html.public-scroll-ready .public-scroll-section.public-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* Directional variants */
.public-scroll-slide-left {
  --public-scroll-offset-x: -64px;
  --public-scroll-offset-y: 0px;
}

.public-scroll-slide-right {
  --public-scroll-offset-x: 64px;
  --public-scroll-offset-y: 0px;
}

.public-scroll-rise {
  --public-scroll-offset-y: 72px;
}

.public-scroll-zoom {
  --public-scroll-offset-y: 28px;
  --public-scroll-scale: 0.94;
}

.public-scroll-float {
  --public-scroll-offset-y: 56px;
  --public-scroll-scale: 0.97;
}

.public-scroll-highlight::after {
  content: '';
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(circle at 30% 20%, rgba(0, 150, 199, 0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.12), transparent 45%);
  opacity: 0;
  filter: blur(30px);
  transition: opacity 1s ease, filter 1s ease;
  z-index: -1;
  pointer-events: none;
}

html.public-scroll-ready .public-scroll-section.public-visible.public-scroll-highlight::after {
  opacity: 1;
  filter: blur(24px);
}

/* Child staggering */
.public-scroll-child {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.99);
  filter: blur(6px);
  transition:
    opacity 0.65s var(--public-scroll-timing),
    transform 0.65s var(--public-scroll-timing),
    filter 0.6s var(--public-scroll-timing);
  transition-delay: var(--public-scroll-delay, 0ms);
}

.public-scroll-section.public-visible .public-scroll-child {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {

  html.public-scroll-ready .public-scroll-section,
  html.public-scroll-ready .public-scroll-section.public-visible,
  .public-scroll-child,
  .public-scroll-section.public-visible .public-scroll-child {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* Staggered animation delays for children */
.stagger-children>*:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger-children>*:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger-children>*:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger-children>*:nth-child(4) {
  transition-delay: 0.4s;
}

.stagger-children>*:nth-child(5) {
  transition-delay: 0.5s;
}

.stagger-children>*:nth-child(6) {
  transition-delay: 0.6s;
}

.stagger-children>*:nth-child(7) {
  transition-delay: 0.7s;
}

.stagger-children>*:nth-child(8) {
  transition-delay: 0.8s;
}

.stagger-children>*:nth-child(9) {
  transition-delay: 0.9s;
}

/* Fade in from different directions */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-down {
  opacity: 0;
  transform: translateY(-30px);
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
}

.fade-up.animated,
.fade-down.animated,
.fade-left.animated,
.fade-right.animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* Scale in animation */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animated {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================================
   6. SECTION ENHANCEMENTS
   ============================================================================ */

/* Section full width */
.section-full-width {
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

/* Section header animations */
.section-header {
  opacity: 1;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(0, 56, 117, 0.1), rgba(0, 150, 199, 0.08));
  border: 1px solid rgba(0, 150, 199, 0.2);
  border-radius: 999px;
  color: #1e4a86;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Underline effect on section titles */
.underline-effect {
  position: relative;
  display: inline-block;
}

.underline-effect::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #1e4a86 0%, #2563eb 100%);
  border-radius: 999px;
}

/* ============================================================================
   7. FLOATING PARTICLES & DECORATIVE ELEMENTS
   ============================================================================ */

/* Floating particles container */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(0, 150, 199, 0.4);
  border-radius: 50%;
  animation: particle-float 8s ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 20%;
  top: 60%;
  animation-delay: 1s;
}

.particle:nth-child(3) {
  left: 30%;
  top: 40%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  left: 50%;
  top: 80%;
  animation-delay: 3s;
}

.particle:nth-child(5) {
  left: 70%;
  top: 30%;
  animation-delay: 4s;
}

.particle:nth-child(6) {
  left: 80%;
  top: 70%;
  animation-delay: 5s;
}

.particle:nth-child(7) {
  left: 90%;
  top: 50%;
  animation-delay: 6s;
}

/* Animated gradient orb */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: gentle-float 8s ease-in-out infinite;
}

.gradient-orb--primary {
  background: linear-gradient(135deg, #1e4a86, #2563eb);
}

.gradient-orb--secondary {
  background: linear-gradient(135deg, #2563eb, #00b4d8);
  animation-delay: -4s;
}

/* ============================================================================
   8. ENHANCED HERO SECTIONS
   ============================================================================ */

/* Hero parallax effect */
.hero-parallax {
  position: relative;
  overflow: hidden;
}

.hero-parallax::before {
  content: '';
  position: absolute;
  inset: -50px;
  background: inherit;
  background-attachment: fixed;
  z-index: -1;
  transform: scale(1.1);
}

/* Hero gradient text */
.hero-gradient-text {
  background: linear-gradient(135deg, #fff 0%, #94a3b8 50%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

/* Animated hero badge */
.hero-badge-animated {
  animation: gentle-float 4s ease-in-out infinite;
}

/* Floating stats animation */
.stat-float {
  animation: gentle-float 6s ease-in-out infinite;
}

.stat-float:nth-child(2) {
  animation-delay: -3s;
}

/* ============================================================================
   9. STATISTICS COUNTER
   ============================================================================ */

.counter-value {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(135deg, #1e4a86 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-box {
  text-align: center;
  padding: 1.5rem;
}

.counter-label {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ============================================================================
   10. ENHANCED NAVIGATION
   ============================================================================ */

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #1e4a86 0%, #2563eb 50%, #00b4d8 100%);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Navigation link underline animation */
.nav-link-animated {
  position: relative;
  overflow: hidden;
}

.nav-link-animated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1e4a86, #2563eb);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.nav-link-animated:hover::after,
.nav-link-animated.active::after {
  transform: translateX(0);
}

/* ============================================================================
   11. FORM ENHANCEMENTS
   ============================================================================ */

/* Floating label effect */
.form-floating-modern {
  position: relative;
}

.form-floating-modern .form-control {
  border-radius: 0.75rem;
  padding: 1rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid transparent;
  background-image: linear-gradient(white, white),
    linear-gradient(135deg, rgba(0, 56, 117, 0.2), rgba(0, 150, 199, 0.2));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: all 0.3s ease;
}

.form-floating-modern .form-control:focus {
  background-image: linear-gradient(white, white),
    linear-gradient(135deg, #1e4a86, #2563eb);
  box-shadow: 0 0 20px rgba(0, 150, 199, 0.15);
}

/* Submit button loading state */
.btn-loading {
  position: relative;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin-slow 0.8s linear infinite;
  margin-left: 0.5rem;
}

/* ============================================================================
   12. TOOLTIP & POPOVER ENHANCEMENTS
   ============================================================================ */

.tooltip-modern {
  position: relative;
}

.tooltip-modern::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.tooltip-modern:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

/* ============================================================================
   13. TESTIMONIAL & TRUST BADGES
   ============================================================================ */

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(0, 150, 199, 0.15);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 56, 117, 0.1);
  border-color: rgba(0, 150, 199, 0.3);
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 56, 117, 0.1), rgba(0, 150, 199, 0.1));
  border-radius: 50%;
  color: #1e4a86;
}

/* ============================================================================
   14. LOADING SKELETON
   ============================================================================ */

.skeleton {
  background: linear-gradient(90deg,
      #f1f5f9 25%,
      #e2e8f0 50%,
      #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.5rem;
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
}

.skeleton-title {
  height: 1.5rem;
  width: 60%;
  margin-bottom: 1rem;
}

.skeleton-image {
  height: 200px;
  margin-bottom: 1rem;
}

/* ============================================================================
   15. RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (max-width: 768px) {

  /* Reduce animation intensity on mobile */
  .card-3d:hover {
    transform: translateY(-5px);
  }

  .service-grid-item:hover {
    transform: translateY(-4px);
  }

  /* Disable parallax on mobile */
  .hero-parallax::before {
    background-attachment: scroll;
  }

  /* Simpler animations on mobile */
  @keyframes gentle-float {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-5px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {

  /* Respect user preference for reduced motion */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================================
   16. DARK MODE ENHANCEMENTS (Optional)
   ============================================================================ */

@media (prefers-color-scheme: dark) {
  .card-gradient-border {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
  }

  .trust-badge {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  }

  .section-badge {
    background: linear-gradient(135deg, rgba(0, 56, 117, 0.3), rgba(0, 150, 199, 0.2));
    color: #2563eb;
  }
}

/* ============================================================================
   17. UTILITY CLASSES
   ============================================================================ */

/* Hover lift */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

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

/* Hover scale */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

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

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

/* Transition all */
.transition-all {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* No select */
.no-select {
  user-select: none;
}

/* Cursor pointer */
.cursor-pointer {
  cursor: pointer;
}

/* Text balance */
.text-balance {
  text-wrap: balance;
}