:root {
  --brand-navy: #12305c;
  --brand-navy-dark: #0a2344;
  --brand-green: #63a93c;
  --brand-border: #d9dee6;
  --brand-light: #f3f4f6;
  --brand-text: #1f2937;
  --site-max-width: 1180px;
}

html, body {
  font-family: 'Inter', sans-serif;
  background: #efefef;
  color: var(--brand-text);
}

body {
  overflow-x: hidden;
}

.durainfra-body a {
  color: var(--brand-navy);
}

.site-container {
  width: min(100% - 32px, var(--site-max-width));
  margin-inline: auto;
}

.page-shell {
  min-height: 46vh;
}

.topbar {
  background: var(--brand-navy);
  border-top: 4px solid var(--brand-green);
}

.topbar-nav .nav-link,
.topbar-link {
  color: #fff;
  font-weight: 500;
  padding: .35rem .8rem;
  text-decoration: none;
}

.topbar-nav .nav-link:hover,
.topbar-link:hover {
  color: #fff;
  opacity: .92;
}

.topbar-highlight {
  background: #fff;
  color: #cc2c2c !important;
  border-radius: .55rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.branding-bar,
.category-nav,
.site-footer,
.login-panel,
.content-card,
.service-slide-card,
.welcome-banner {
  background: #fff;
}

.brand-logo {
  max-height: 78px;
  width: auto;
}

.header-assurance {
  color: var(--brand-navy);
  font-size: .92rem;
  font-weight: 600;
}

.search-bar .form-control,
.login-panel .form-control,
.content-card .form-control,
.site-footer .form-control {
  border-radius: .45rem;
  min-height: 46px;
}

.search-bar .input-group > .form-control {
  border-right: 0;
}

.search-bar .input-group > .btn {
  min-width: 58px;
}

.btn-brand {
  background: #0d3d88;
  border-color: #0d3d88;
  color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-navy-dark);
  border-color: var(--brand-navy-dark);
  color: #fff;
}

.btn-outline-brand {
  color: #0d3d88;
  border-color: #0d3d88;
}

.btn-outline-brand:hover {
  background: #0d3d88;
  color: #fff;
}

.advanced-search-link {
  font-size: .82rem;
  text-decoration: none;
}

.category-scroll {
  overflow-x: auto;
  white-space: nowrap;
  padding: .85rem 0;
}

.category-link {
  color: #111827;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.25;
}

.category-link:hover {
  color: #0d3d88;
}

.home-switch-section,
.page-section {
  min-height: 46vh;
}

.login-panel,
.content-card,
.service-slide-card,
.welcome-banner {
  border: 1px solid var(--brand-border);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.login-panel,
.content-card {
  padding: 2rem;
}

.login-panel h1,
.welcome-banner h1 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--brand-green);
  margin-bottom: .65rem;
}

.fade-panel {
  animation: fadeInUp .45s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-banner {
  padding: 1.5rem 1.75rem;
}

.services-carousel {
  position: relative;
}

.service-slide-card {
  min-height: 430px;
}

.service-slide-copy {
  padding: 2.25rem;
}

.service-slide-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.service-slide-copy p {
  font-size: 1.04rem;
  color: #475467;
  max-width: 36rem;
  margin-bottom: 0;
}

.service-slide-media {
  position: relative;
  min-height: 320px;
  background: linear-gradient(135deg, #e7eef8 0%, #eef5ec 100%);
}

.service-slide-media img {
  display: block;
}

.carousel-indicators {
  margin-bottom: 1rem;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #9aa4b2;
}

.carousel-control-prev,
.carousel-control-next {
  width: 54px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background-color: rgba(18, 48, 92, .88);
  background-size: 52% 52%;
}

.service-list-card {
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .09);
}

.service-list-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #edf3fb;
  color: #0d3d88;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex: 0 0 auto;
}

.form-check-input:checked {
  background-color: #0d3d88;
  border-color: #0d3d88;
}

.site-footer {
  border-top: 4px solid #2db356;
}

.site-footer h6 {
  color: #111827;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links li + li {
  margin-top: .6rem;
}

.footer-links a,
.social-links a,
.site-footer a {
  color: #111827;
  text-decoration: none;
}

.footer-links a:hover,
.social-links a:hover,
.site-footer a:hover {
  color: #0d3d88;
}

.partner-logo-main {
  max-height: 64px;
  width: auto;
}

.partner-logo-secondary {
  max-height: 110px;
  width: auto;
}

.social-links a {
  font-size: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--brand-border);
  color: #374151;
  font-size: .95rem;
}

.object-fit-cover {
  object-fit: cover;
}

ul.errorlist {
  list-style: none;
  margin: .45rem 0 0;
  padding: 0;
  color: #b42318;
  font-size: .92rem;
}

@media (max-width: 991.98px) {
  .topbar-nav {
    width: 100%;
  }

  .topbar-nav .nav-link {
    padding-left: 0;
  }

  .header-assurance {
    justify-content: flex-start;
  }

  .brand-logo {
    max-height: 68px;
  }

  .service-slide-card {
    min-height: auto;
  }

  .service-slide-copy {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .site-container {
    width: min(100% - 20px, var(--site-max-width));
  }

  .login-panel,
  .content-card,
  .service-slide-copy,
  .welcome-banner {
    padding: 1.35rem;
    border-radius: .85rem;
  }

  .login-panel h1,
  .welcome-banner h1 {
    font-size: 1.8rem;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }
}


.social-links a {
  font-size: 1.15rem;
}

.footer-bottom {
  border-top: 1px solid var(--brand-border);
  font-size: .95rem;
}

.breadcrumb {
  padding-top: .5rem;
}

.breadcrumb a {
  text-decoration: none;
}

.category-grid {
  overflow: visible;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  white-space: normal;
  transition: all .18s ease;
}

.category-pill:hover {
  color: #0d3d88;
  background: #edf3fb;
  border-color: #d7e2f2;
  transform: translateY(-1px);
}

.category-pill.active {
  background: #e9f0fb;
  color: #0d3d88;
  border-color: #c9d8ef;
  box-shadow: inset 0 0 0 1px rgba(13,61,136,.03);
}

.stretched-link-reset {
  color: inherit;
}

.stretched-link-reset:hover {
  color: #0d3d88;
}

.service-hero-media {
  min-height: 320px;
  background: linear-gradient(135deg, #e7eef8 0%, #eef5ec 100%);
}

.service-detail-copy {
  font-size: 1.05rem;
  line-height: 1.85;
}

.service-highlights li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}

.service-highlights li + li {
  margin-top: 1rem;
}

.service-highlights i {
  color: var(--brand-green);
  font-size: 1.1rem;
  margin-top: .15rem;
}

.compact-service-card {
  padding: 1.5rem;
}

@media (max-width: 991.98px) {
  .site-container {
    width: min(100% - 24px, var(--site-max-width));
  }

  .brand-logo {
    max-height: 66px;
  }

  .service-slide-card {
    min-height: 0;
  }
}

@media (max-width: 767.98px) {
  .topbar-nav {
    gap: .2rem;
  }

  .topbar-nav .nav-link,
  .topbar-link {
    padding-inline: .55rem;
  }

  .category-pill {
    width: 100%;
    justify-content: flex-start;
    border-radius: .9rem;
  }

  .service-slide-copy,
  .login-panel,
  .content-card {
    padding: 1.25rem;
  }
}

.partners img {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.partners img:hover {
    transform: scale(1.05);
    opacity: 0.85;
}