/* Minimal, typography-forward variant */

:root {
  --brand: #111827;
}

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

body {
  letter-spacing: 0.2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

.lead-quiet {
  color: #6b7280;
}

.list-dash {
  list-style: none;
  padding-left: 0;
}
.list-dash li::before {
  content: '— ';
  color: #9ca3af;
}

.hero-minimal {
  background: linear-gradient(135deg, #CFE6F4 0%, #1F5FA8 70%, #0A2A4D 100%);
  color: #0A2A4D;
  padding: 6rem 0 5rem;
  border-bottom: 1px solid #dbe1e8;
}

.hero-minimal {
  position: relative;
  overflow: hidden;
}

.hero-minimal::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(180,180,255,0.40), rgba(200,200,255,0));
  border-radius: 50%;
  pointer-events: none;
}

.hero-minimal::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255,180,180,0.40), rgba(255,200,200,0));
  border-radius: 50%;
  pointer-events: none;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: .75rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #000;
  opacity: .15;
  margin: .75rem auto 0;
  border-radius: 2px;
}

.navbar {
  border-bottom: 1px solid #e5e5e5;
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(6px);
}

.card {
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-body {
  padding: 2.5rem !important;
}

/* Enhanced card hover effect */
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

.btn {
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-dark {
  background: #1F5FA8;
  border-color: #1F5FA8;
}

.btn-dark:hover {
  background: #0A2A4D;
  border-color: #0A2A4D;
  box-shadow: 0 6px 18px rgba(31,95,168,.35);
  transform: translateY(-2px);
}

h1, h2, h3 {
  color: #0A2A4D;
}

.lead-quiet {
  color: #061a30;
  opacity: .85;
}

/* Back to top button */
.btn-back-to-top {
  position: fixed;
  bottom: calc(70px + env(safe-area-inset-bottom));
  right: calc(12px + env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1F5FA8;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1070;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background: #0A2A4D;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31,95,168,.35);
}

.btn-back-to-top:active {
  transform: translateY(0);
}

/* Spacing utility */
.py-6 {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}

@media (max-width: 992px) {
  .py-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  
  /* Adjust back to top button position on mobile */
  .btn-back-to-top {
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

/* Mobile menu improvements */
@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem 0;
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .nav-link {
    padding: 0.5rem 0 !important;
  }
}

/* Print styles */
@media print {
  .navbar,
  .lang-switch,
  .btn-back-to-top {
    display: none !important;
  }
  
  .hero-minimal {
    background: white;
    color: black;
    border: none;
  }
  
  .hero-minimal::before,
  .hero-minimal::after {
    display: none;
  }
}