body {
    font-family: "Poppins", sans-serif;
}
:root{
    --primary-color: #1350a4;
    --logo-color: #2e4a82;
    --bs-primary: #1350a4;
    --bs-primary-rgb: 12, 80, 163;
    --secondary-color: #cbdbf6;
    --footer: 56px;
    --navbar: calc(90px + 1rem);
    --full-page-height: calc(100vh - (var(--footer) + var(--navbar))); /* 56px is footer and 90px + 1rem is navbar */

    /* motion */
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);   /* enter / reveal */
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);   /* state change */
    --dur-fast: 120ms;   /* colour / opacity feedback */
    --dur-base: 200ms;   /* toggles, fades, swaps */
    --dur-slow: 320ms;   /* panels, reveals */
}
.btn-primary {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    border-color: var(--bs-primary);
}
.btn-outline-primary{
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}
.btn-outline-primary:hover{
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}
/* Shared by the home page and the service detail page, which previously carried
   the hover on home.css only and so behaved differently for identical cards. */
.service-item {
    transition: background-color var(--dur-base) var(--ease-standard),
                transform var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-out);
}
.service-item:hover,
.service-item:focus-within {
    background-color: #efefef;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}
/* Scales the photo inside the clipped <picture> frame, so the slanted mask
   itself stays fixed instead of growing with the image. */
.service-item img {
    transition: transform var(--dur-slow) var(--ease-out);
}
.service-item:hover img,
.service-item:focus-within img {
    transform: scale(1.06);
}
.service-item a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 1rem;
}

footer{
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    font-size: medium;
}
@media (max-width: 1000px) {
    footer{
        font-size: small;
    }
}
footer p{
    margin-bottom: 0;
}
footer ul li a {
    text-decoration: none;
    color: white;
}
footer a {
    transition: color var(--dur-fast) var(--ease-standard),
                opacity var(--dur-fast) var(--ease-standard);
}
footer a:hover {
    opacity: .75;
}

.offset-navbar{
    margin-top: var(--navbar);
}
.full-page{
    min-height: var(--full-page-height);
}
@media (max-width: 767px) {
    .full-page{
        padding-left: 10px;
    }
}
h2{
    color: var(--primary-color);
    font-weight: 400;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.35); /* light gray thumb */
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.55);
}
.logo{
    display: flex;
    flex-direction: row;
    gap: .1rem;
    margin: 1.5rem;
}
.logo img {
    width: 43px;
    margin-right: .2rem;
    margin-top: 1px;
}
.dr-nik-text{
    text-transform: uppercase;
    color: var(--logo-color);
    font-size: 1.5rem;
    font-weight: 800;
    display: inline-block;
    position: relative;
    line-height: .8;
    letter-spacing: -.1rem;
    margin: auto;
}
  .dr-nik-text .and {
    color: var(--logo-color);
    opacity: 44%;
    margin: 0 !important;
    font-size: 2.1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(20%, -70%);
    z-index: 1;
  }
  .dr-nik-text .associates {
    font-size: 1.5rem;
    letter-spacing: -.1rem;
    position: relative;
    z-index: 2;
    display: inline-block;
  }
