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

:root {
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-poppins: 'Poppins', sans-serif;
  
  /* HSL tailored color palette */
  --brand-navy: 217 89% 16%;      /* #041E42 - Trustworthy navy */
  --brand-blue: 213 93% 25%;      /* #0A2E65 - Slate blue */
  --brand-emerald: 161 94% 30%;   /* #028A5B - Rich emerald accent */
  --brand-emerald-glow: 161 94% 45%;
  --brand-gold: 41 96% 54%;       /* Warm gold for secondary accents/ratings */
  
  --bg-gradient-start: 220 40% 98%;
  --bg-gradient-end: 210 30% 95%;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Glassmorphism Styles */
.glass-nav {
  background: rgba(15, 23, 42, 0.85); /* Dark theme header for premium contrast */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

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

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Custom Animations */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.05);
  }
}

@keyframes float-medium {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(12px) scale(0.98);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px 0px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 30px 10px rgba(16, 185, 129, 0.45);
  }
}

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

@keyframes draw-dash {
  to {
    stroke-dashoffset: 0;
  }
}

.animate-float-1 {
  animation: float-slow 10s ease-in-out infinite;
}

.animate-float-2 {
  animation: float-medium 8s ease-in-out infinite;
}

.glow-emerald {
  animation: pulse-glow 3s infinite;
}

/* Scroll reveal helper class */
.reveal-item {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* Input Styles */
.form-input-focus:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Custom gradient text highlights */
.text-gradient-emerald {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background blob decorations */
.blob-decor-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.2) 0%, rgba(30, 58, 138, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
}

.blob-decor-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(45px);
  pointer-events: none;
}

/* Services custom card effects */
.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
}

.service-card:hover .service-icon {
  background: #10b981;
  color: white;
  transform: scale(1.1) rotate(5deg);
}

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

/* Footer layout highlights */
.footer-link {
  position: relative;
  transition: color 0.3s ease;
}

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

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

/* Global image styles requested by user */
img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* Logo image overrides to maintain scale and aspect ratio */
img.logo-img {
  width: auto !important;
  height: auto !important;
  max-height: 50px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

/* Redesigned Vibrant Hero Styles */
.font-poppins {
  font-family: var(--font-poppins), sans-serif;
}

.vibrant-hero-overlay {
  background: linear-gradient(135deg, rgba(4, 30, 66, 0.88) 0%, rgba(10, 46, 101, 0.75) 50%, rgba(217, 119, 6, 0.4) 100%);
}

.hero-text-animate {
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-350 {
  animation-delay: 350ms;
}

.delay-500 {
  animation-delay: 500ms;
}
