@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --color-primary: #2563EB;     /* Blue */
  --color-secondary: #FFFFFF;   /* White */
  --color-bg: #F8FAFC;          /* Slate 50 */
  --color-text: #1E293B;        /* Slate 800 */
  --color-accent: #F59E0B;      /* Amber 500 */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Lenis Smooth Scroll Compatibility */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overflow: clip;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #E2E8F0;
}
::-webkit-scrollbar-thumb {
  background: #94A3B8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748B;
}

/* Custom shadow cards with light lift hover */
.service-card {
  background-color: var(--color-secondary);
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  transition: border-color 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.08), 0 10px 10px -5px rgba(37, 99, 235, 0.03);
  border-color: rgba(37, 99, 235, 0.25);
}

.service-card:hover::before {
  border-color: rgba(37, 99, 235, 0.15);
}

/* Icon float animation on card hover */
.service-card .icon-float {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card:hover .icon-float {
  transform: translateY(-4px) scale(1.08);
}

.feature-box {
  background-color: var(--color-secondary);
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
}

.feature-box:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 12px 20px -3px rgba(37, 99, 235, 0.06);
  transform: translateY(-2px);
}

/* Button animation helpers */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-secondary);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary:hover::after {
  transform: translateX(100%);
}
.btn-primary:hover {
  background-color: #1D4ED8;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border: 1px solid #E2E8F0;
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  background-color: #EFF6FF;
}

/* ========================================
   NAVBAR PREMIUM ANIMATIONS
   ======================================== */

/* Sticky Navbar glass effect — enhanced glassmorphism */
.glass-navbar {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #E2E8F0;
}

/* Active nav link indicator */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}
.nav-link:hover::after,
.nav-link.active-link::after {
  transform: translateX(-50%) scaleX(1);
}

/* Scroll Progress Bar styling — gradient variation */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #60A5FA, var(--color-primary));
  background-size: 200% 100%;
  animation: scrollGradient 3s linear infinite;
  z-index: 10000;
  width: 0%;
  pointer-events: none;
}

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

/* ========================================
   PRELOADER SCREEN — Premium
   ======================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Preloader progress bar track */
.preloader-track {
  width: 120px;
  height: 3px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1.25rem;
}

.preloader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), #60A5FA);
  border-radius: 4px;
  transition: width 0.05s linear;
}

.preloader-percent {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 2px;
  margin-top: 0.5rem;
}

/* ========================================
   HERO ANIMATIONS
   ======================================== */

/* Text Reveal Animation Wrappers */
.reveal-wrapper {
  overflow: hidden;
  display: inline-block;
}
.reveal-inner {
  display: inline-block;
  transform: translateY(105%);
}

/* Scroll indicator at hero bottom */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
}

.scroll-indicator-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid #94A3B8;
  border-radius: 11px;
  position: relative;
}

.scroll-indicator-dot {
  width: 3px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDotBounce 2s ease-in-out infinite;
}

.scroll-indicator-text {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #94A3B8;
  font-weight: 600;
}

@keyframes scrollDotBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* Floating Background Blur Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.07;
  z-index: -10;
  pointer-events: none;
  will-change: transform;
}

.floating-shape-1 {
  width: 350px;
  height: 350px;
  background-color: var(--color-primary);
  top: 15%;
  left: -5%;
  animation: floatCycle1 20s infinite ease-in-out alternate;
}

.floating-shape-2 {
  width: 300px;
  height: 300px;
  background-color: var(--color-accent);
  bottom: 20%;
  right: -5%;
  animation: floatCycle2 24s infinite ease-in-out alternate;
}

@keyframes floatCycle1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-30px, 60px) scale(0.9); }
}

@keyframes floatCycle2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -60px) scale(0.95); }
  100% { transform: translate(40px, -20px) scale(1.05); }
}

/* ========================================
   STATS COUNTER SECTION
   ======================================== */
.stats-section {
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 50%, rgba(245, 158, 11, 0.03) 100%);
  pointer-events: none;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-icon-ring {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  color: var(--color-primary);
  font-size: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.stat-item:hover .stat-icon-ring {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 0.25rem;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, #CBD5E1, transparent);
  align-self: center;
}

/* ========================================
   CONTACT FORM PREMIUM FOCUS EFFECTS
   ======================================== */
.contact-input-group {
  position: relative;
}

.contact-input-group label {
  transition: color 0.25s ease;
}

.contact-input-group:focus-within label {
  color: var(--color-primary);
}

/* ========================================
   FOOTER PREMIUM ANIMATIONS
   ======================================== */

/* Social icon glow on hover */
.social-links a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Footer columns reveal */
.footer-col {
  opacity: 0;
  transform: translateY(20px);
}

/* ========================================
   CASHFREE GATEWAY SIMULATION STYLING
   ======================================== */
.cashfree-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cashfree-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cashfree-modal-container {
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cashfree-modal-backdrop.active .cashfree-modal-container {
  transform: scale(1);
}

/* Cashfree simulator tab channels */
.pay-tab {
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.pay-tab.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
  font-weight: 600;
}

/* Billing Visual Card */
.visual-billing-card {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.2);
}

/* ========================================
   GSAP ANIMATION UTILITY CLASSES
   ======================================== */

/* Elements that will be animated in by JS */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
}

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

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

.anim-scale-in {
  opacity: 0;
  transform: scale(0.92);
}

/* Package card selected pulse ring */
@keyframes packagePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}

.package-selected-pulse {
  animation: packagePulse 2s ease-in-out infinite;
}

/* Section divider gradient line */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #CBD5E1, transparent);
}

/* ========================================
   SERVICE "SHOW MORE" BUTTON
   ======================================== */
.service-show-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3B82F6 50%, #60A5FA 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px -3px rgba(37, 99, 235, 0.35);
  width: 100%;
}

.service-show-more-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,0.2) 50%, transparent 75%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.service-show-more-btn:hover {
  background-position: 100% 50%;
  box-shadow: 0 8px 22px -4px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

.service-show-more-btn:hover::before {
  transform: translateX(100%);
}

.service-show-more-btn:active {
  transform: translateY(0px);
  box-shadow: 0 4px 14px -3px rgba(37, 99, 235, 0.35);
}

.service-show-more-btn i {
  font-size: 15px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-show-more-btn:hover i {
  transform: scale(1.2);
}

/* ========================================
   SERVICE VIDEO SHOWCASE MODAL
   ======================================== */
.service-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

.service-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.service-modal-container {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow:
    0 32px 64px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 80px -20px rgba(37, 99, 235, 0.1);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  transform: scale(0.88) translateY(30px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal-backdrop.active .service-modal-container {
  transform: scale(1) translateY(0);
}

/* Custom scrollbar for modal */
.service-modal-container::-webkit-scrollbar {
  width: 5px;
}
.service-modal-container::-webkit-scrollbar-track {
  background: transparent;
}
.service-modal-container::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}

/* Modal Header */
.service-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 60%, #3B82F6 100%);
  border-radius: 20px 20px 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Modal Close Button */
.service-modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 14px;
  backdrop-filter: blur(4px);
}

.service-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: rotate(90deg);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Modal Body */
.service-modal-body {
  padding: 24px;
}

/* Video Wrapper */
.service-modal-video-wrapper {
  border-radius: 14px;
  overflow: hidden;
  background: #0F172A;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.2);
  position: relative;
}

.service-modal-video {
  width: 100%;
  display: block;
  max-height: 380px;
  object-fit: contain;
  background: #000;
}

/* Description Section */
.service-modal-description {
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
}

/* ========================================
   SERVICE MODAL RESPONSIVE
   ======================================== */
@media (max-width: 640px) {
  .service-modal-container {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 16px;
  }

  .service-modal-header {
    padding: 14px 18px;
    border-radius: 16px 16px 0 0;
  }

  .service-modal-body {
    padding: 16px;
  }

  .service-modal-video {
    max-height: 240px;
  }

  .service-modal-video-wrapper {
    border-radius: 10px;
  }

  .service-modal-description {
    margin-top: 14px;
    padding: 12px 14px;
  }
}

