/* BIM Training Institute - Modern Clean White SaaS Design System */

:root {
  --primary: #2563EB;
  --secondary: #1D4ED8;
  --accent: #3B82F6;
  --dark: #111827;
  --background: #F8FAFC;
  --white: #FFFFFF;
  --cta-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  --card-radius: 24px;
  --button-radius: 18px;
  --input-radius: 18px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark);
  background-color: var(--background);
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-bottom: 70px; /* Space for Mobile Bottom Sticky CTA */
}

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

/* Mobile-First Container System (420px max content width on mobile, responsive to 7xl desktop) */
.mobile-container {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .mobile-container {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Tokens */
.card-mobile {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  box-shadow: 0 10px 30px -10px rgba(17, 24, 39, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-mobile-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border-radius: 18px;
  font-weight: 700;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-mobile-secondary {
  background: #FFFFFF;
  border: 2px solid #2563EB;
  color: #2563EB;
  border-radius: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.input-mobile {
  border-radius: 18px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.input-mobile:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Touch Friendly Horizontal Scroll Container */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* =========================================================
   ULTRA-PREMIUM SAAS GRID HERO BACKGROUND (LINEAR / VERCEL LIGHT)
   ========================================================= */
.saas-grid-hero {
  position: relative;
  background-color: #F8FAFC;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.12) 0%, rgba(59, 130, 246, 0.05) 45%, rgba(248, 250, 252, 0) 70%),
    linear-gradient(to right, rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  background-position: center center;
}

/* Subtle Vignette Mask to Softly Fade Grid Edges */
.saas-grid-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 40%, transparent 40%, #FFFFFF 95%);
  pointer-events: none;
  z-index: 1;
}

/* Additional Sub-Grid Dots Pattern for Tech Blueprint Depth */
.dot-grid-overlay {
  background-image: radial-gradient(rgba(37, 99, 235, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #0F172A 0%, #1E40AF 60%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Primary High-Converting Buttons */
.btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: #FFFFFF;
  border: 2px solid #2563EB;
  color: #2563EB;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #2563EB;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.25);
}

/* Card Styling */
.card-light {
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-light:hover {
  transform: translateY(-2px);
  border-color: #E2E8F0;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

/* Hero Glassmorphism Badge Cards */
.hero-glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.05);
}

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

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

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

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

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

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

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

/* Swiper continuous linear movement style */
.software-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Accordion Smooth Expansion */
.accordion-header {
  transition: color 0.2s ease;
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-item.active .accordion-header {
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-content {
  max-height: 800px;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Salary Visual Bar Heights */
.salary-bar-fill {
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fade In Up Observer Class */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile-First Global & Responsive Reset */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* Touch Friendly Targets */
button, a {
  touch-action: manipulation;
}



/* Sticky Mobile Bottom CTA Bar */
.bottom-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid #E2E8F0;
  padding: 0.65rem 1rem;
  box-shadow: 0 -10px 25px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .bottom-sticky-bar {
    display: none;
  }
}

.bottom-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-center: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  border-radius: 18px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  transition: all 0.2s ease;
}

/* Floating Elements */
.floating-widget-stack {
  position: fixed;
  bottom: 120px;
  right: 16px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 640px) {
  .floating-widget-stack {
    bottom: 96px;
    right: 24px;
  }
}

.floating-circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.25rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-circle-btn:hover {
  transform: scale(1.1);
}

/* Rounded Cards token for 24px */
.rounded-card-24 {
  border-radius: 24px !important;
}

.rounded-btn-18 {
  border-radius: 18px !important;
}

/* Responsive Grid Gap & Mobile-First Spacing */
@media (max-width: 639px) {
  .saas-grid-hero {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
  }
  .card-light {
    border-radius: 1rem;
    padding: 1.15rem !important;
  }
  h1 {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }
  h2 {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }
}

/* Hide scrollbars but keep functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

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

.animate-fade-in {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes marquee-reviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee-reviews {
  display: flex;
  width: max-content;
  animation: marquee-reviews 55s linear infinite;
}

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

.review-marquee-card {
  width: calc(100vw - 56px);
  max-width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  margin-right: 24px;
}
@media (min-width: 640px) {
  .review-marquee-card {
    max-width: 380px;
  }
}
@media (min-width: 768px) {
  .review-marquee-card {
    width: calc(50vw - 48px);
    max-width: none;
  }
}
@media (min-width: 1024px) {
  .review-marquee-card {
    width: calc(33.333vw - 45px);
  }
}
@media (min-width: 1280px) {
  .review-marquee-card {
    width: 381px;
  }
}
