html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  height: 100svh;
}

body {
    margin: 0;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial,sans-serif;
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    /* Adaugă padding sus și jos respectând notch-ul și bara de jos */
    padding-top: calc(env(safe-area-inset-top) + 5px);
    padding-bottom: calc(env(safe-area-inset-bottom) + 5px);
    height:100svh;
}

main {
  flex: 1;
}

/* Navbar Improvements */
.navbar {
  box-shadow: var(--box-shadow);
  background: white !important;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary) !important;
  transition: var(--transition);
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--color-primary) !important;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Custom styles for ETA2U Workshop - Mobile First Design */
:root {
  /* Primary Color Scheme - MES Conference 2025 */
  --color-primary: #007BFF;
  --color-secondary: #004D99;
  --color-accent-success: #28A745;
  --color-accent-warning: #FFC107;
  --color-accent-danger: #DC3545;
  --color-accent-orange: #FF6B35;
  --color-background-light: #F8F9FA;
  --color-background-dark: #212529;
  --color-text-dark: #343A40;
  --color-text-light: #FFFFFF;
  
  /* Design tokens */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
  --box-shadow-lg: 0 8px 24px rgba(0, 123, 255, 0.15);
  --box-shadow-hover: 0 12px 32px rgba(0, 123, 255, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-success: linear-gradient(135deg, var(--color-accent-success) 0%, #1e7e34 100%);
  --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

/* High Contrast Utilities - Maximum Readability */
.text-primary {
  color: var(--color-primary) !important;
}

.text-secondary {
  color: var(--color-secondary) !important;
}

/* Force high contrast for all text elements */
.text-dark {
  color: #212529 !important;
}

.text-muted {
  color: #6c757d !important;
}

/* High contrast buttons */
.btn-primary {
  background-color: #007BFF !important;
  border-color: #007BFF !important;
  color: white !important;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #0056b3 !important;
  border-color: #0056b3 !important;
  color: white !important;
}

.btn-success {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
  font-weight: 600;
}

.btn-success:hover {
  background-color: #1e7e34 !important;
  border-color: #1e7e34 !important;
  color: white !important;
}

.btn-outline-primary {
  color: #007BFF !important;
  border-color: #007BFF !important;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background-color: #007BFF !important;
  border-color: #007BFF !important;
  color: white !important;
}

/* Table high contrast */
.table-primary {
  background-color: #007BFF !important;
  color: white !important;
}

.table-primary th {
  color: white !important;
  font-weight: 700;
}

/* Links high contrast */
a {
  color: #0056b3 !important;
  text-decoration: none;
}

a:hover {
  color: #003d82 !important;
  text-decoration: underline;
}

.bg-primary {
  background: var(--gradient-primary) !important;
}

.bg-secondary {
  background-color: var(--color-secondary) !important;
}

/* Buttons - Modern Design */
.btn {
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  box-shadow: var(--box-shadow);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-light) !important;
}

.btn-primary:hover {
  background: var(--color-secondary);
  color: var(--color-text-light) !important;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn-success {
  background: var(--gradient-success);
  color: var(--color-text-light) !important;
}

.btn-success:hover {
  background: #1e7e34;
  color: var(--color-text-light) !important;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn-accent {
  background: var(--gradient-accent) !important;
  color: var(--color-text-light) !important;
  border: none !important;
  font-weight: 700 !important;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #F7931E 0%, #FF6B35 100%) !important;
  color: var(--color-text-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4) !important;
}

.btn-accent:focus, .btn-accent:active {
  color: var(--color-text-light) !important;
  background: var(--gradient-accent) !important;
}

/* High Contrast Text */
.form-label {
  color: #212529 !important;
  font-weight: 600 !important;
}

.form-control {
  color: #212529 !important;
  background-color: #fff !important;
  border: 2px solid #ced4da !important;
}

.form-control:focus {
  border-color: var(--color-primary) !important;
  color: #212529 !important;
}

.form-control::placeholder {
  color: #6c757d !important;
  opacity: 1;
}

.card {
  color: #212529;
}

.card-body {
  color: #212529;
}

.card-header {
  color: white !important;
}

a.btn {
  text-decoration: none !important;
}

/* Navigation Accent Button */
.navbar .btn-accent {
  padding: 0.5rem 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
  .navbar .btn-accent {
    margin-top: 0;
    margin-bottom: 0;
  }
}

.btn-outline-primary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

/* Hero section - Modern Gradient Design */
.hero-section {
  background: var(--gradient-primary);
  padding: 3rem 1rem;
  margin-bottom: 0;
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}

@media (width<600px){
    .hero-section {
        padding-top:5rem;
    }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat;
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

.hero-section h2 {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.95;
}

.hero-section .lead {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Event details */
.event-details .detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

/* CORECTARE PROBLEMA 1: Iconuri mari pe desktop în hero section */
.event-details .detail-item i {
  margin-right: 0.5rem;
  width: 20px;
  font-size: 1rem; /* Default pentru mobil */
}

/* Desktop - iconuri de 3 ori mai mari */
@media (min-width: 992px) {
  .event-details .detail-item i {
    font-size: 3rem; /* 3 ori mai mare pe desktop */
    margin-bottom: 0.5rem;
    display: block;
    width: auto;
    text-align: center;
  }
  
  .event-details .detail-item {
    flex-direction: column;
    text-align: center;
  }
}

/* Tablet and desktop */
@media (min-width: 768px) {
  .hero-section {
    padding: 4rem 1.5rem;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-section h2 {
    font-size: 1.75rem;
  }
}

@media (min-width: 992px) {
  .hero-section {
    padding: 5rem 2rem;
  }
  
  .hero-section h1 {
    font-size: 3.5rem;
  }
}

/* Program Details - Collapsible Modern Design */
details {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

details:hover {
  box-shadow: var(--box-shadow-lg);
}

details[open] {
  background: var(--color-background-light);
}

summary {
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-primary);
  transition: var(--transition);
}

details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

summary:hover {
  background: rgba(0, 123, 255, 0.05);
}

/* Timeline styles - Modern & Clean */
.program-timeline {
  margin-top: 1.5rem;
  padding-left: 0;
}

.timeline-item {
  background: white;
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--color-primary);
  transition: var(--transition);
  
  /* CORECTARE PROBLEMA 3: Pe mobil timeline-item să fie flex-direction: column */
  display: flex;
  flex-direction: column; /* Default pentru mobil */
}

.timeline-item:hover {
  transform: translateX(4px);
  box-shadow: var(--box-shadow);
}

.timeline-time {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  align-self: flex-start; /* Pentru o mai bună aliniere pe mobil */
}

.timeline-content h5 {
  color: var(--color-text-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.timeline-content p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Pe tablet și desktop, timeline revine la flex-direction: row */
@media (min-width: 768px) {
  .timeline-item {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .timeline-time {
    margin-bottom: 0;
    margin-right: 1rem;
    align-self: auto;
  }
}

/* Sidebar */
.sidebar .card {
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.partner-links .btn {
  transition: all 0.3s ease;
}

.partner-links .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Registration form */
.card.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.form-control {
  border-radius: 0.375rem;
  border: 1px solid #ced4da;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--eta2u-primary);
  box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

/* Success page */
.success-container {
  padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80% {
    transform: translateY(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateY(-10px);
  }
}

.hero-section > .container > .row > .col-lg-8 {
  animation: fadeInUp 0.8s ease-out;
}

.success-icon {
  animation: pulse 2s ease infinite;
}

/* Mobile First Responsive Design */

/* Base mobile styles */
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

.btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  min-height: 44px; /* Touch-friendly */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-lg {
  min-height: 48px;
  font-size: 1rem;
}

.card {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--box-shadow);
}

.card.shadow-lg {
  box-shadow: var(--box-shadow-lg) !important;
}

/* Navigation improvements */
.navbar-brand {
  font-size: 1.1rem;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: rgba(44, 90, 160, 0.1);
}

/* Form improvements */
.form-control {
  border-radius: var(--border-radius);
  min-height: 44px; /* Touch-friendly */
  font-size: 1rem;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Timeline mobile adjustments */
.program-timeline {
  padding-left: 1rem;
}

/* Info Cards - Modern Design */
.info-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-left: 4px solid var(--color-primary);
  margin-bottom: 1.5rem;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover);
}

.info-card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  color: var(--color-primary) !important;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.info-card p {
  color: #212529 !important;
  margin-bottom: 0;
  line-height: 1.6;
}

.info-card strong {
  color: #212529 !important;
}

/* Event details */
.detail-item {
  color: white !important;
}

.detail-item strong,
.detail-item div {
  color: white !important;
}

/* Responsive adjustments for event details */
@media (max-width: 767.98px) {
  .event-details .detail-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
    backdrop-filter: blur(10px);
    flex-direction: column;
  }
  
  .event-details .detail-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: white !important;
  }
}

/* Sidebar & Cards */
.sidebar .card {
  margin-bottom: 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--box-shadow-lg);
}

.card-header {
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  border: none;
  padding: 1rem 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* Location Card Special Styling */
.location-card {
  background: linear-gradient(135deg, #28A745 0%, #1e7e34 100%);
  color: white !important;
  border: none;
}

.location-card .card-body {
  padding: 2rem;
}

.location-card h3 {
  color: white !important;
  font-weight: 700;
  margin-bottom: 1rem;
}

.location-card p {
  color: white !important;
  opacity: 1;
  line-height: 1.8;
}

.location-card strong {
  color: white !important;
}

.location-card .btn {
  background: white;
  color: #28A745 !important;
  font-weight: 600;
  border: 2px solid white;
}

.location-card .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #1e7e34 !important;
  transform: translateY(-2px);
}

/* Admin table mobile improvements */
.table-responsive {
  font-size: 0.9rem;
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
  }
  
  .partner-links .btn:hover {
    transform: none;
  }
}

/* Tablet styles */
@media (min-width: 768px) {
  .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
}

/* Desktop styles */
@media (min-width: 992px) {
  .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .program-timeline {
    padding-left: 2rem;
  }
}

/* Footer - Modern Design */
.footer-modern {
  background: var(--gradient-primary);
  color: white;
  margin-top: auto;
}

.footer-modern h5, .footer-modern h6 {
  color: white;
  font-weight: 600;
}

.footer-modern .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.footer-modern .btn-outline-light:hover {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

.footer-modern a:hover {
  color: white !important;
  text-decoration: underline !important;
}

.border-light {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Additional Mobile Optimizations */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Touch optimizations */
.btn, .nav-link, .dropdown-toggle {
  -webkit-tap-highlight-color: rgba(44, 90, 160, 0.2);
  touch-action: manipulation;
}

/* Performance optimizations */
.hero-section, .card, .timeline-item {
  will-change: transform;
}

/* Loading states */
.form-control:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Enhanced focus states for accessibility */
.btn:focus-visible,
.form-control:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--eta2u-primary);
  outline-offset: 2px;
}

/* Admin panel specific styles */
.admin-header {
  background: linear-gradient(135deg, var(--eta2u-primary) 0%, #1e3f73 100%);
  color: white;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.participant-card {
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.participant-card:hover {
  border-left-color: var(--eta2u-primary);
  box-shadow: var(--box-shadow-lg);
}

/* CSV download button enhancement */
.btn-success {
  background: linear-gradient(135deg, var(--eta2u-success) 0%, #146c43 100%);
  border-color: var(--eta2u-success);
}

.btn-success:hover {
  background: linear-gradient(135deg, #146c43 0%, var(--eta2u-success) 100%);
}

/* Mobile table improvements */
@media (max-width: 991.98px) {
  .table-responsive {
    border: none;
  }
  
  .mobile-participant-card {
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease;
  }
  
  .mobile-participant-card:active {
    background-color: rgba(44, 90, 160, 0.05);
  }
}

/* Print styles */
@media print {
  .sidebar, .navbar, .btn, .alert {
    display: none !important;
  }
  
  .hero-section {
    background: none !important;
    color: black !important;
  }
  
  .container {
    max-width: none !important;
  }
}

/* ============================================
   SINGLE PAGE APPLICATION STYLES
   ============================================ */

/* CORECTARE PROBLEMA 2: Main Wrapper - elimină padding-top pe mobil */
.main-wrapper {
  /* Nu mai adăugăm padding-top pentru că Fixed navbar face acest lucru automat */
}

/* Fixed Navbar */
.navbar.fixed-top {
  transition: all 0.3s ease;
}

/* Pe desktop, păstrăm padding-ul pentru navbar fixed */
@media (min-width: 992px) {
  .main-wrapper {
    padding-top: 76px;
  }
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Hero Section Modern */
.hero-section-modern {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') repeat;
  opacity: 0.3;
}

.hero-info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.hero-info-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px);
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-down {
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Pulse Button Animation */
.pulse-button {
  animation: pulse-animation 2s infinite;
  box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 107, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
  }
}

/* Section Padding */
.section-padding {
  padding: 100px 0;
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* Feature Cards */
.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-top: 4px solid var(--color-primary);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-card-highlight {
  background: var(--gradient-primary);
  color: white;
  border-top-color: var(--color-accent-success);
}

.feature-card-highlight h4 {
  color: white;
}

/* Alert Modern */
.alert-modern {
  display: flex;
  align-items: center;
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--box-shadow);
}

.alert {
  color: #212529 !important;
}

.alert strong {
  color: #212529 !important;
}

/* Timeline Modern */
.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.timeline-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}

.timeline-time {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: var(--box-shadow);
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  flex: 1;
  margin: 0 1rem;
  max-width: 45%;
}

.timeline-break .timeline-content {
  background: var(--color-background-light);
  border: 2px dashed var(--color-primary);
}

.timeline-highlight .timeline-content {
  background: var(--gradient-success);
  color: white;
}

.timeline-highlight h5 {
  color: white;
}

/* Location Card Modern */
.location-card-modern {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-lg);
}

.location-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  margin-bottom: 2rem;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
}

/* Partners Section */
.partners-section {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.partner-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 1rem 2rem;
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.partner-logo-link:hover .partner-logo {
  background: var(--color-primary);
  color: white;
  transform: scale(1.05);
}

.partner-divider {
  font-size: 2rem;
  color: var(--color-primary);
  font-weight: 300;
}

/* Registration Form Card */
.registration-form-card {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-lg);
}

.form-control-modern {
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  transition: var(--transition);
}

.form-control-modern:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.form-floating label {
  color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--color-primary);
}

/* Benefits Box */
.benefits-box {
  background: var(--color-background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--color-accent-success);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

/* Submit Button Animation */
.submit-button {
  position: relative;
  overflow: hidden;
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.submit-button:hover::before {
  width: 300px;
  height: 300px;
}

/* Page Navigation Dots */
.page-navigation {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  flex-direction: column;
  gap: 1rem;
}

.page-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.3);
  border: 2px solid var(--color-primary);
  transition: var(--transition);
  position: relative;
}

.page-nav-dot::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-text-dark);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-size: 0.875rem;
}

.page-nav-dot:hover::before {
  opacity: 1;
  right: 30px;
}

.page-nav-dot:hover,
.page-nav-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: var(--box-shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

/* Background Gradient for sections */
.bg-gradient-primary {
  background: var(--gradient-primary) !important;
}

/* Loading Animation */
body {
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

/* Mobile Responsive Adjustments pentru SPA */
@media (max-width: 991.98px) {
  .hero-section-modern {
    min-height: auto;
    padding: 80px 0 60px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 60px;
  }
  
  .timeline-content {
    max-width: 100%;
    text-align: left !important;
  }
  
  .timeline-time {
    position: absolute;
    left: 0;
  }
  
  .page-navigation {
    display: none !important;
  }
  
  .registration-form-card {
    padding: 2rem 1.5rem;
  }
  
  /* Pe mobil, nu avem padding-top pentru main-wrapper */
  .main-wrapper {
    padding-top: 0;
  }
}

@media (width<600px){
    .timeline-time{
        display:flex;
        flex-direction:column;
        gap:1ch;
    }
}