/* Import Google Fonts - Updated to include Poppins for modern headings */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* Variables et reset minimal - Updated colors for more vibrancy */
:root {
  --bg: #f9fafb; /* Slightly softer light background */
  --surface: #ffffff;
  --text: #1f2937; /* Darker text for better contrast */
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #3b82f6; /* Brighter academic blue */
  --secondary: #6b7280;
  --accent: #10b981; /* Added accent color for highlights */
  --heading-font: 'Poppins', sans-serif; /* Modern sans-serif for headings */
  --body-font: 'Inter', sans-serif;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--body-font);
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--text);
}

.site-wrapper { min-height: 100%; display: flex; flex-direction: column; }
.page-container { max-width: 1280px; margin: 0 auto; padding: 32px; } /* Increased max-width and padding */

/* Navbar - Added shadow for depth */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}
.nav-left { display: flex; align-items: center; }
.nav-brand { color: var(--text); text-decoration: none; font-weight: 600; font-family: var(--heading-font); font-size: 1.3rem; }
.nav-right { display: flex; gap: 12px; flex-wrap: wrap; }
.nav-link { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 6px; transition: all 0.2s ease-in-out; }
.nav-link:hover { color: var(--primary); background: rgba(59, 130, 246, 0.1); }
.nav-link.active { color: var(--primary); font-weight: 600; background: rgba(59, 130, 246, 0.1); }

/* Buttons - Modernized with gradients, shadows, and scale transitions */
/* General styling for dcc.Link elements that act as buttons */
.button-white,
.button-primary,
.button-secondary {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-family: var(--body-font);
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: normal;
  letter-spacing: normal;
}

/* White Button - Made more minimalist: transparent bg, white border and text */
.button-white {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.button-white:hover {
  opacity: 0.8;
  transform: scale(1.02);
}



/* ================================
   Homepage — Enhanced with modern trends: gradients, shadows, micro-transitions
   ================================ */
.home-root {
  min-height: 100vh;
  background: #0f172a; /* Slightly brighter deep navy */
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden; /* For potential overlays */
}

/* Added subtle overlay for hero */
.home-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  z-index: 0;
}

.home-hero {
  text-align: center;
  padding: 0 40px; /* Remove vertical padding for full control */
  background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 100%);
  background-size: 100% 200%; /* For animation */
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1;
  height: 100vh; /* Full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center horizontally */
  animation: gradient-scroll 30s linear infinite; /* Gentle scrolling animation */
}

@keyframes gradient-scroll {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 100%; }
}

.home-logo { width: 160px; height: 160px; margin: 0 auto 40px; opacity: 0.98; transition: transform 0.3s ease; }
.home-logo:hover { transform: scale(1.05); } /* Micro-interaction */
.home-title { color: #ffffff; font-size: clamp(3rem, 5vw, 4.5rem); margin: 20px 0; letter-spacing: -0.5px; } /* Reduced margin for tighter spacing */
.home-tagline { color: #d1d5db; font-size: 1.25rem; max-width: 900px; margin: 0 auto 24px; line-height: 1.95; } /* Reduced bottom margin */
.home-actions { display: flex; justify-content: center; gap: 24px; margin-top: 8px; } /* Reduced top margin */

.home-section { max-width: 1440px; margin: 140px auto; padding: 0 40px; width: 100%; text-align: center; transition: opacity 0.5s ease; }
.home-section h2 { color: #ffffff; font-size: clamp(2.4rem, 3.5vw, 3rem); margin-bottom: 28px; letter-spacing: -0.2px; }
.home-section p { color: #d1d5db; font-size: 1.15rem; line-height: 1.9; max-width: 960px; margin: 0 auto; }

.home-researchers { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
.researcher { text-align: center; max-width: 320px; background: none; padding: 0; border: none; transition: transform 0.3s ease; }
.researcher:hover { transform: translateY(-5px); }
.researcher img { width: 120px; height: 120px; border-radius: 8px; margin-bottom: 16px; object-fit: cover; }
.researcher-name { color: #ffffff; font-size: 1.4rem; margin-bottom: 4px; }
.researcher-role { color: #9ca3af; font-size: 1rem; }
.researcher a { color: #93c5fd; text-decoration: none; transition: color 0.2s; }
.researcher a:hover { color: #ffffff; }

.home-links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.link-ghost { color: #d1d5db; text-decoration: none; border-bottom: 1px solid #475569; padding-bottom: 4px; font-size: 1.1rem; transition: all 0.2s; }
.link-ghost:hover { color: #ffffff; border-color: var(--primary); transform: translateY(-1px); }

/* Footer - Enhanced with more padding */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-text { max-width: 1280px; margin: 0 auto; padding: 24px 32px; color: var(--muted); font-size: 1rem; }

/* Cartes - Added hover effects */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; transition: box-shadow 0.3s ease; }
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.card-title { font-weight: 600; margin-bottom: 10px; }
.card-muted { color: var(--muted); font-size: 1rem; }

/* Sliders Dash */
.rc-slider-mark,
.rc-slider-mark-text,
.rc-slider-step,
.rc-slider-dot {
  display: none !important;
}
.rc-slider {
  margin-bottom: 10px;
}