/* =========================
   LEXSHASTRA GLOBAL STYLES
   ========================= */
/* Prevent layout shift due to scrollbar */
html {
  overflow-y: scroll;
}

body {
  scroll-behavior: smooth;
  padding-top: 80px; /* ADD THIS - matches header height */
}

/* Ensure header is always at top */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  padding-top: 100px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.cta-btn {
  background-color: #4f46e5;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #4338ca;
  transform: scale(1.05);
}

.section {
  padding: 5rem 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #312e81;
  margin-bottom: 2rem;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.float-img {
  width: 80%;
  animation: float 4s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
