/* Import professional font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Override theme font with professional sans-serif */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navbar - Properly aligned */
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.navbar .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar-brand {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff !important;
}

/* Icons styling */
.navbar-nav .nav-link i,
.navbar-nav .nav-link svg {
  font-size: 1.1rem;
}

/* Ensure right-aligned items stay right */
.navbar-nav.ms-auto {
  margin-left: auto !important;
}

.navbar-nav.ms-auto .nav-link {
  padding: 0.5rem 0.75rem !important;
}

/* Full-width hero banner */
.hero-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #2980b9 100%);
  color: #ffffff;
  padding: 6rem 2rem 5rem 2rem;
  margin: 0 calc(-50vw + 50%) 0 calc(-50vw + 50%);
  width: 100vw;
  text-align: center;
}

.hero-banner h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-banner h3 {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  color: #ffffff;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-banner .btn {
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 4px;
  border-width: 2px;
  transition: all 0.2s ease;
}

.hero-banner .btn-light {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #1e3a5f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-banner .btn-light:hover {
  background-color: #f8f9fa;
  border-color: #f8f9fa;
  color: #1e3a5f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Content wrapper */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Services Grid - Fixed equal width cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0 3rem 0;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 2.5rem 2rem;
  background: #f8f9fa;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-height: 100%;
}

.service-card:hover {
  border-color: #2980b9;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.service-card h4 {
  color: #1e3a5f;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.service-card p {
  color: #2d3748;
  line-height: 1.7;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  margin: 2rem 0;
  background: #f8f9fa;
  border-radius: 8px;
}

.cta-section p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 1.5rem;
}

.cta-section .btn {
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  font-size: 1.05rem;
}

/* Section styling */
.content-wrapper h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  margin-top: 0;
  color: #1e3a5f;
  letter-spacing: -0.02em;
  text-align: center;
}

.content-wrapper > p {
  font-size: 1.2rem;
  color: #2d3748;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-weight: 500;
}

.content-wrapper a[href$=".qmd"] {
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: #2980b9;
  display: inline-block;
  margin-top: 1rem;
}

.content-wrapper a[href$=".qmd"]:hover {
  text-decoration: underline;
}

/* Footer */
.nav-footer {
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e1e8ed;
}