/* El Bachiller Custom Styles - Solanco Redesign Style */

:root {
  --primary: #495678;
  --secondary: #f6c491;
  --accent: #f9c301;
  --accent-hover: #dfae00;
  --dark: #1e2538;
  --light: #f8f9fa;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--light);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Smooth Scrolling & offsets (adjusted for sticky topbar + header) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem; 
}

body {
  font-family: 'Inter', sans-serif;
  color: #334155;
  background-color: var(--light);
}

/* Typography styles for Headers */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Floating Navigation Bar Sticky blur */
.header-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Custom cards and hover states */
.premium-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(73, 86, 120, 0.08);
  border-color: rgba(73, 86, 120, 0.2);
}

/* Transition active tabs */
.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}
.tab-pane.active {
  display: block;
}

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

/* Form validations */
.form-input:user-invalid {
  border-color: #ef4444;
}
.form-input:user-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Background Gradients */
.hero-gradient {
  background: linear-gradient(135deg, rgba(30, 37, 56, 0.9) 0%, rgba(73, 86, 120, 0.85) 100%);
}

.cta-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #1e2538 100%);
}

/* Interactive Timeline styling */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 36px;
  bottom: -20px;
  width: 2px;
  background-color: #e2e8f0;
}
.timeline-item:last-child::before {
  display: none;
}
@media (max-width: 768px) {
  .timeline-item::before {
    left: 15px;
  }
}

/* Solanco specific details */
.calendar-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background-color: var(--primary);
  color: white;
  text-align: center;
}
.calendar-date .month {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}
.calendar-date .day {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
}

/* Quicklinks Overlapping row offset */
.quicklinks-offset {
  margin-top: -3.5rem;
  position: relative;
  z-index: 20;
}
@media (max-width: 1024px) {
  .quicklinks-offset {
    margin-top: 0;
  }
}
