/* Custom CSS Extensions for AnaxisTech Redesign */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --color-brand-blue: #3a86ff;
  --color-brand-dark: #07090e;
}

@keyframes animatedBodyGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); }
  100% { transform: translate(-60px, 140px) scale(0.9); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

body {
  font-family: var(--font-primary);
  background-color: #060913;
  color: #cbd5e1;
  overflow-x: hidden;
  background: linear-gradient(-45deg, #050811, #0a1128, #070d1e, #0c1636, #050811);
  background-size: 400% 400%;
  animation: animatedBodyGlow 22s ease infinite;
}

.animated-bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  animation: floatOrb 25s ease-in-out infinite alternate;
}

.orb-1 {
  top: 5%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: #3a86ff;
}

.orb-2 {
  bottom: 15%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: #4f46e5;
  animation-delay: -10s;
}

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

/* Custom Notch Header styling matching Reference Image */
.header-notch-container {
  background: rgba(11, 14, 20, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  position: relative;
}

/* Inverted curves for header notch shoulders */
.header-notch-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -18px;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 0% 100%, transparent 17px, rgba(11, 14, 20, 0.9) 18px);
  pointer-events: none;
}

.header-notch-container::after {
  content: '';
  position: absolute;
  top: 0;
  right: -18px;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 100% 100%, transparent 17px, rgba(11, 14, 20, 0.9) 18px);
  pointer-events: none;
}

/* Hero container rounded frame from reference image */
.hero-card-frame {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

/* Floating rounded rectangle button matching reference image */
.btn-explore-pill {
  background: #f4f6e6;
  color: #121811;
  font-weight: 600;
  border-radius: 16px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-explore-pill:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
}

.btn-explore-pill:hover * {
  color: #ffffff !important;
}

/* Case Study Card Hover FX (No blue overlay, image blur, description visible) */
.case-study-card {
  position: relative;
  height: 390px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card .card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease, transform 0.7s ease;
}

.case-study-card:hover .card-bg-img {
  transform: scale(1.08);
  filter: blur(6px);
}

.case-study-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.92) 0%, rgba(7, 9, 14, 0.6) 50%, rgba(7, 9, 14, 0.25) 100%);
  transition: background 0.4s ease;
}

.case-study-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(7, 9, 14, 0.96) 0%, rgba(7, 9, 14, 0.8) 50%, rgba(7, 9, 14, 0.6) 100%);
}

.case-study-card .card-desc {
  max-height: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.case-study-card:hover .card-desc {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
}

.case-study-card .hex-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.case-study-card:hover .hex-arrow-btn {
  background: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Dark Theme Card Styling */
.light-card {
  background: #0d1a3a;
  border: 1px solid rgba(30, 58, 138, 0.4);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-card:hover {
  background: #0d1a3a;
  border-color: rgba(58, 134, 255, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(58, 134, 255, 0.2);
}

/* Infinite Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: 200%;
  animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070e24;
}
::-webkit-scrollbar-thumb {
  background: #1e3a6e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a86ff;
}

/* Floating vector illustrations animation for Capabilities section */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatSlowReverse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(8px);
  }
}

.animate-float-slow {
  animation: floatSlow 2.2s ease-in-out infinite;
}

.animate-float-slow-delay {
  animation: floatSlowReverse 2.4s ease-in-out infinite 0.4s;
}

/* Organic Fluid Blob Shapes for Services Image Backdrops */
.blob-shape-1 {
  border-radius: 42% 58% 70% 30% / 45% 55% 45% 55%;
}

.blob-shape-2 {
  border-radius: 55% 45% 38% 62% / 58% 42% 58% 42%;
}

.blob-shape-3 {
  border-radius: 65% 35% 52% 48% / 40% 60% 40% 60%;
}

/* FAQ Card Clean & Elegant Hover Effect */
.faq-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.faq-card:hover {
  border-color: #3a86ff !important;
  box-shadow: 0 18px 36px -10px rgba(58, 134, 255, 0.3) !important;
}

/* Dark blue border hover for solid blue cards */
.faq-card.bg-\[\#3a86ff\]:hover {
  border-color: #0f172a !important;
  box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.4) !important;
}
