/* Small custom tweaks to complement Tailwind CDN */
html,body{height:100%;}

/* optional: container for aspect ratio fallback */
.aspect-w-16{position:relative}
.aspect-w-16:before{content:'';display:block;padding-top:56.25%}
.aspect-w-16 > *{position:absolute;inset:0}

/* make links look consistent */
a{color:inherit}
 
/* Client Logo Styles */
.client-logo:hover {
  filter: grayscale(0%) !important; /* Color on hover */
  transform: scale(1.05) !important; /* Slight zoom on hover */
}

body {
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #43cea2 0%, #185a9d 50%, #7b2ff2 100%);
  background-size: 200% 200%;
  animation: gradientMove 10s ease-in-out infinite alternate;
  color: #f3f4f6;
  position: relative;
  overflow-x: hidden;
}

/* Gradient Animation */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Abstract Floating Shapes */
body::before, body::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  transition: opacity 0.5s;
}
body::before {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -140px;
  background: radial-gradient(circle at 30% 30%, #43cea2 0%, #185a9d 80%);
  animation: float1 12s ease-in-out infinite alternate;
}
body::after {
  width: 320px;
  height: 320px;
  bottom: -100px;
  right: -120px;
  background: radial-gradient(circle at 70% 70%, #7b2ff2 0%, #f7971e 80%);
  animation: float2 14s ease-in-out infinite alternate;
}

/* Floating Animation Keyframes */
@keyframes float1 {
  0% { top: -120px; left: -140px; }
  100% { top: -80px; left: -100px; }
}
@keyframes float2 {
  0% { bottom: -100px; right: -120px; }
  100% { bottom: -60px; right: -80px; }
}

/* Modern UI Enhancements */
section {
  border-radius: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.bg-white {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}

.rounded-xl, .rounded-2xl, .rounded-3xl {
  border-radius: 1.5rem !important;
}

.shadow, .shadow-lg, .shadow-xl, .shadow-2xl {
  box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 20px 60px rgba(0,0,0,0.12);
}

.hover\:shadow-lg:hover, .hover\:shadow-2xl:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.16);
  transform: translateY(-8px) scale(1.03);
}

a, .font-semibold {
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
}

a:hover {
  opacity: 0.9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

img {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}

.text-primary-700 { color: #0369a1; }
.text-primary-800 { color: #075985; }
.text-gray-800 { color: #1f2937; }
.text-gray-700 { color: #374151; }
.text-gray-600 { color: #4b5563; }
.bg-primary-500 { background-color: #38bdf8; }
.border-primary-100 { border-color: #bae6fd; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }

/* Glassmorphism effect for cards/sections */
.glass-card {
  background: rgba(255, 255, 255, 0.6); /* Slightly more transparent */
  backdrop-filter: blur(20px) saturate(180%); /* Stronger blur */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle white border */
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15); /* More pronounced shadow */
  border-radius: 1.5rem; /* Consistent border radius */
  position: relative;
  z-index: 1;
  transition: all 0.3s ease; /* Smooth transitions */
}

.glass-card:hover {
  transform: translateY(-5px) scale(1.02); /* Lift and slightly enlarge */
  box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.25);
  border-color: rgba(255, 255, 255, 0.6); /* Highlight border on hover */
}

/* Service icon wrapper for better visual */
.service-icon-wrapper {
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.6) 100%);
  border-radius: 50%;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.glass-card:hover .service-icon-wrapper {
  transform: scale(1.1); /* Icon wrapper pops out on card hover */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Ensure section styling */
section:not(.glass-card) {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 10px 40px rgba(0,0,0,0.10);
  border-radius: 2rem;
  position: relative;
  z-index: 1;
}

/* Ensure main content is above background shapes */
.max-w-7xl, .max-w-6xl {
  position: relative;
  z-index: 2;
}

.hero-bg {
  background-image: url('../assets/images/pexels-olly-842548.jpg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0; /* Ensure the image is behind content */
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for better text contrast */
  z-index: 1; /* Place overlay above image but below content */
  border-radius: 2rem; /* Match parent section border-radius */
}

.hero-bg > div {
  position: relative;
  z-index: 2; /* Ensure content is above the overlay */
}

.services-bg {
  background-image: url('../assets/images/woman-scrolling-laptop.jpg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0; /* Ensure the image is behind content */
  color: white; /* Ensure text is readable on dark background */
}

.services-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text contrast */
  z-index: 1; /* Place overlay above image but below content */
  border-radius: 2rem; /* Match parent section border-radius */
}

.services-bg > h2, .services-bg > div {
  position: relative;
  z-index: 2; /* Ensure content is above the overlay */
}

/* Adjust text color for elements within service-bg section */
.services-bg .text-gray-700,
.services-bg .text-blue-700,
.services-bg .text-purple-700,
.services-bg .text-pink-700 {
  color: #e0e0e0 !important; /* Lighter text for readability */
}

.services-bg .glass-card {
  background: rgba(255,255,255,0.2) !important; /* More transparent cards */
  backdrop-filter: blur(10px) saturate(150%) !important;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
}

.services-bg .group-hover\:opacity-20:hover {
  opacity: 30% !important;
}

.services-bg a {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: white !important;
}

.client-card {
  background: linear-gradient(135deg, #fff 0%, #e0f7fa 60%, #e0eafc 100%);
  border: 1px solid #e0eafc;
  transition: box-shadow 0.3s, transform 0.3s;
}
.client-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.16);
  transform: translateY(-8px) scale(1.05);
  border-color: #38bdf8;
}

.honda-logo {
  filter: none !important;
  max-width: 100px;
  max-height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  /* Make SVG red if possible */
  /* For inline SVG, you can use fill: #e60000; */
}

/* If the SVG is not red, you can use CSS filter for PNG/JPG: */
.honda-logo {
  filter: brightness(0) saturate(100%) invert(18%) sepia(98%) saturate(7492%) hue-rotate(-2deg) brightness(97%) contrast(119%);
}

@keyframes float {
  0%   { transform: translateY(0); }
  25% { transform: transalateX(5px); }
  50%  { transform: translateY(-12px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateY(0); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
