:root {
  --bg-midnight: #0a0f1d;
  --card-bg: #131b2e;
  --accent-blue: #0284c7;
  --accent-hover: #0369a1;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
}

body {
  background-color: var(--bg-midnight);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Navbar */
.navbar-dark-custom {
  background-color: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-logo {
  height: 40px;
  width: auto;
  border-radius: 8px; /* Added logo rounding */
}

/* Hero Section Base */
.hero-midnight {
  padding: 120px 0 100px 0;
  position: relative;
  background-color: var(--bg-midnight);
}

/* Background Video Styling */
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

/* Maintain lighter video visibility */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(10, 15, 29, 0.45) 0%, 
    rgba(10, 15, 29, 0.70) 100%
  );
  z-index: 1;
}

/* Glassmorphic Backdrop Panel for Hero Content */
.hero-glass-card {
  background: rgba(10, 15, 29, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Text Drop Shadows for High Contrast Against Moving Video */
.hero-midnight h1, 
.hero-midnight h3 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Sharpen Lead Paragraph Visibility */
.hero-midnight p.lead {
  color: #e2e8f0 !important; /* Brighter slate shade instead of dim text-secondary */
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* Bring Foreground Content Above Overlay */
.hero-midnight .z-2 {
  z-index: 2;
}

/* Profile Image Styling */
.profile-img-container {
  position: relative;
  display: inline-block;
}

.profile-img-container::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--accent-blue);
  border-radius: 20px;
  z-index: 0;
  opacity: 0.5;
}

.profile-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Custom Cards */
.card-midnight {
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card-midnight:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
}

/* Timeline */
.timeline-step {
  border-left: 3px solid var(--accent-blue);
  padding-left: 20px;
  margin-bottom: 30px;
  position: relative;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: var(--accent-blue);
}