/* Agiltas Solution Private Limited - Premium Light Theme Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --color-bg: #fdfbf7;
  --color-card-bg: #ffffff;
  --color-navy: #0b192c;
  --color-gold: #c5a059;
  --color-gold-dark: #b8860b;
  --color-blue: #2563eb;
  --color-indigo: #4f46e5;
  --color-emerald: #059669;
  --color-purple: #7c3aed;
  --color-amber: #d97706;
  --color-rose: #e11d48;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', 'Manrope', system-ui, sans-serif;
  color: #1e293b;
  background-color: #fdfbf7;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #fdfbf7;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile app bottom navigation */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  color: #0b192c;
  font-weight: 700;
  line-height: 1.25;
}

/* Light Theme Card Shadows & Glowing Borders */
.card-light-premium {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-light-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.1), 0 8px 20px -4px rgba(197, 160, 89, 0.15);
  border-color: rgba(197, 160, 89, 0.4);
}

/* Gradient Borders for Light Theme */
.border-gradient-gold {
  border-top: 4px solid #c5a059;
}

.border-gradient-emerald {
  border-top: 4px solid #059669;
}

.border-gradient-blue {
  border-top: 4px solid #2563eb;
}

.border-gradient-indigo {
  border-top: 4px solid #4f46e5;
}

.border-gradient-purple {
  border-top: 4px solid #7c3aed;
}

.border-gradient-amber {
  border-top: 4px solid #d97706;
}

.border-gradient-rose {
  border-top: 4px solid #e11d48;
}

/* Header Sticky Glassmorphism */
header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 25px -4px rgba(15, 23, 42, 0.08);
}

/* Mobile App Bottom Tab Bar */
.mobile-app-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
  .mobile-app-nav {
    display: none !important;
  }
}

.mobile-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-tab-item.active, .mobile-tab-item:hover {
  color: #0b192c;
  background-color: #f3ebd1;
}

.mobile-tab-item svg {
  width: 20px;
  height: 20px;
}

/* Pulse Glow & Floating */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 6s ease-in-out infinite 2.5s;
}

@keyframes pulseSlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.05); }
}

.animate-pulse-slow {
  animation: pulseSlow 7s ease-in-out infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.animate-shine {
  animation: shine 3s infinite;
}

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

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

/* Rich Hero Grid & Mesh Background */
.bg-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(197, 160, 89, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(197, 160, 89, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
}

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

.bg-hero-animated-vibrant {
  background: linear-gradient(-45deg, #fef3c7, #e0f2fe, #f3e8ff, #dcfce7, #ffe4e6, #fef9c3);
  background-size: 400% 400%;
  animation: gradientBG 10s ease infinite;
}

/* Dark Theme Hero Background */
.bg-hero-dark-vibrant {
  background: 
    radial-gradient(circle at 20% 30%, rgba(217, 119, 6, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 40%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.25) 0%, transparent 50%),
    linear-gradient(-45deg, #030712, #0b192c, #0f172a, #111827);
  background-size: 300% 300%;
  animation: gradientBG 14s ease infinite;
}

.bg-grid-pattern-dark {
  background-image: 
    linear-gradient(to right, rgba(197, 160, 89, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(197, 160, 89, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Multi-Color Gradient Utilities */
.text-gradient-vibrant {
  background: linear-gradient(135deg, #d97706 0%, #dc2626 25%, #7c3aed 50%, #2563eb 75%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold-dark {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes orbMove1 {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.15); }
  66% { transform: translate(-40px, 30px) scale(0.9); }
}

@keyframes orbMove2 {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(-50px, 45px) scale(1.1); }
  66% { transform: translate(40px, -35px) scale(0.95); }
}

@keyframes orbMove3 {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(35px, 50px) scale(1.2); }
}

.animate-orb-1 {
  animation: orbMove1 14s ease-in-out infinite;
}

.animate-orb-2 {
  animation: orbMove2 18s ease-in-out infinite;
}

.animate-orb-3 {
  animation: orbMove3 16s ease-in-out infinite;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdfbf7;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c5a059;
}

/* Button Component Classes */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.875rem 1.75rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #0b192c 0%, #1e293b 100%);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #c5a059 0%, #b8860b 100%);
  color: #0b192c;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.875rem 1.75rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #e5c158 0%, #c5a059 50%, #b8860b 100%);
  color: #0b192c;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.35);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #b8860b 0%, #8c6d23 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(184, 134, 11, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.875rem 1.75rem;
  border-radius: 0.875rem;
  border: 2px solid #0b192c;
  color: #0b192c;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-outline:hover {
  background-color: #0b192c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 25, 44, 0.2);
}

/* Glassmorphism & Enterprise Luxury Cards */
.glass-card-dark {
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #e5c158 0%, #c5a059 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(243, 235, 209, 0.8) 0%, rgba(231, 214, 162, 0.8) 100%);
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: #0b192c;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.15);
}

/* Swiper Custom Pagination & Navigation Controls */
.projects-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 0.6;
  border-radius: 9999px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 4px !important;
  cursor: pointer;
}
.projects-swiper-pagination .swiper-pagination-bullet-active {
  width: 32px;
  background: linear-gradient(135deg, #c5a059 0%, #b8860b 100%);
  opacity: 1;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.5);
}

/* Projects Slider Animations & Active Elevation */
.projects-swiper .swiper-slide {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.projects-swiper .project-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-swiper .swiper-slide-active .project-card {
  box-shadow: 0 20px 30px -10px rgba(197, 160, 89, 0.2), 0 8px 15px -6px rgba(15, 23, 42, 0.08);
  border-color: rgba(197, 160, 89, 0.4);
}

/* Animated Shimmer Top Border */
@keyframes border-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animated-top-border {
  background-size: 200% 200% !important;
  animation: border-shimmer 4s ease infinite;
}

/* Micro Arrow Bounce */
.projects-swiper-prev, .projects-swiper-next,
.testimonial-swiper-prev, .testimonial-swiper-next {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.projects-swiper-prev:hover, .testimonial-swiper-prev:hover {
  transform: translateX(-3px) scale(1.08);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}
.projects-swiper-next:hover, .testimonial-swiper-next:hover {
  transform: translateX(3px) scale(1.08);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

.projects-swiper-pagination .swiper-pagination-bullet,
.testimonial-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 0.6;
  border-radius: 9999px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 4px !important;
  cursor: pointer;
}
.projects-swiper-pagination .swiper-pagination-bullet-active,
.testimonial-swiper-pagination .swiper-pagination-bullet-active {
  width: 32px;
  background: linear-gradient(135deg, #c5a059 0%, #b8860b 100%);
  opacity: 1;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.5);
}

