/* Custom styles for Abhishek Garg CFA Tutor website */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Navbar scroll effect */
#navbar.scrolled {
  background: rgba(15, 30, 53, 0.97) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

#navbar.scrolled .nav-text {
  color: white !important;
}

/* Hero gradient */
.hero-bg {
  background: linear-gradient(135deg, #0f1e35 0%, #1e3a5f 50%, #0a1628 100%);
}

/* Booking step transitions */
.booking-step {
  animation: fadeIn 0.3s ease;
}

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

/* Calendar styles */
.calendar-header {
  background: #0f1e35;
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: white;
}

.calendar-day-header {
  text-align: center;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.calendar-day {
  text-align: center;
  padding: 10px 4px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  color: #374151;
}

.calendar-day:hover:not(.disabled):not(.empty) {
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 6px;
}

.calendar-day.selected {
  background: #1e3a5f;
  color: white;
  border-radius: 6px;
  font-weight: 700;
}

.calendar-day.today {
  font-weight: 700;
  color: #2563eb;
}

.calendar-day.disabled {
  color: #d1d5db;
  cursor: not-allowed;
}

.calendar-day.empty {
  cursor: default;
}

/* Time slot styles */
.time-slot {
  padding: 10px 8px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.time-slot:hover:not(.unavailable) {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #1d4ed8;
}

.time-slot.selected {
  border-color: #1e3a5f;
  background: #1e3a5f;
  color: white;
}

.time-slot.unavailable {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  border-color: #e5e7eb;
  text-decoration: line-through;
}

/* Step indicator active state */
.step-active .step-circle {
  background: #eab308 !important;
  color: white !important;
}

/* Level card selected state */
.level-card.selected {
  border-color: #1e3a5f;
  background: #f0f4ff;
}

/* FAQ animation */
.faq-answer {
  transition: all 0.2s ease;
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse animation for CTA */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(234, 179, 8, 0); }
}

.cta-pulse {
  animation: pulse-glow 2s infinite;
}

/* Mobile improvements */
@media (max-width: 768px) {
  .calendar-day {
    padding: 8px 2px;
    font-size: 12px;
  }
}
