#sticky-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 120px;
    max-height: 20vh;

    display: flex;
    flex-direction: column;      /* stack children vertically */
    flex-wrap: wrap;

    justify-content: flex-start; /* stack from top */
    align-items: flex-start;     /* children align to left */
    background-color: white;
}

.section-white {
    width: 90%;                  /* container width relative to viewport */
    max-width: 1250px;           /* max width cap */
    margin: 0 auto;              /* horizontally center the container */
    box-sizing: border-box;

    display: flex;
    flex-direction: column;      /* stack children vertically */
    flex-wrap: wrap;

    justify-content: flex-start; /* stack from top */
    align-items: flex-start;     /* children align to left */
    
    position: relative;          /* no absolute positioning */
    z-index: 5;
    padding-bottom: 50px;
    padding-top: 10px;
}


.section-blue {
    padding-top: 150px;
    padding-bottom: 150px;
    width: 90%;                  /* container width relative to viewport */
    max-width: 1250px;           /* max width cap */
    margin: 0 auto;              /* horizontally center the container */
    box-sizing: border-box;

    display: flex;
    flex-direction: column;      /* stack children vertically */
    flex-wrap: wrap;

    justify-content: flex-start; /* stack from top */
    align-items: flex-start;     /* children align to left */
    
    position: relative;          /* no absolute positioning */
    z-index: 5;
}

.blue-bar::before {
    content: "";
    position: absolute;          /* fixed to viewport so it spans the screen */
    top: 0;
    left: 50%;                /* start at the horizontal center */
    transform: translateX(-50%); /* shift back by half its width */
    width: 100vw;             /* span entire viewport width */
    min-width: 1250px;
    height: 100%;             /* or desired height */
    z-index: -1;
    background-color: #123e69;
    clip-path: polygon(
        0 40px, 
        50% 0, 
        100% 40px, 
        100% 100%, 
        50% calc(100% - 40px), 
        0 100%
    );
}

.blue-bar {
    padding: 0;
    position: relative;
    z-index: 0;
}

.side-by-side {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
}

.half-wrap {
    text-align: center;
    width: 48%;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  background-color: #eeeeee;
}

.clickable:hover {
    cursor: pointer;
}





#top-header {
    width: 950px;
    margin: 0 auto;              /* horizontally center the container */
    box-sizing: border-box;
    margin-bottom: 20px;

    display: flex;
    flex-direction: column;      /* stack children vertically */

    justify-content: flex-start; /* stack from top */
    align-items: center;     /* children align to left */
    
    position: relative;          /* no absolute positioning */
    z-index: 100;
    min-height: 550px;
}

#top-header::before {
    content: "";
    position: absolute;          /* fixed to viewport so it spans the screen */
    top: 0;
    left: 50%;                /* start at the horizontal center */
    transform: translateX(-50%); /* shift back by half its width */
    width: 100vw;             /* span entire viewport width */
    min-width: 1250px;
    height: 95%;             /* or desired height */
    z-index: -1;
    background-image: url(".//general-photos/Courthouse Background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #123e69;
    list-style: none;
    padding: clamp(2px, 1vw, 10px);
    width: calc(100% - (clamp(2px, 1vw, 10px)) * 2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
}

.pages:hover {
    background-color: #0d559d;
    transform: scale(1.05);
}

.dropdown p {
    display:block;
    text-align: center;
    font-size:clamp(4px, 1.6vw, 15px);;
    font-weight:normal;
    color: white;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    line-height: 0.98;
    margin: 0;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: clamp(2px, 1.6vw, 8px);;
}

.dropdown p:hover {
    color:#cecece;
    cursor: pointer;
    text-decoration: underline;
}

.pages {
    transition-duration: 0.5s;
    z-index: 1001;
}

.pages:hover .dropdown {
  display: block;
}

#litigation-text-holder {
    display: flex;
    overflow: hidden;
}

#litigation-text {
    animation-name: litigation-text-move;
    animation-duration: 10s;
    animation-timing-function: cubic-bezier(0.42, 0.2, 0.58, 1);
    animation-fill-mode: forwards;
}

@keyframes litigation-text-move {
    0% {
    }
    20.2% {
        clip-path: inset(0 0 0 0);
    }
    40% {
        clip-path: inset(0 274px 0 0);
    }
    100% {
        clip-path: inset(0 274px 0 0);
    }
}

#economics-text-holder {
    width: 480px;
    display: flex;
    overflow: hidden;
    animation-name: economics-text-move;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

strong {
    font-size:90px; 
    font-weight:bold; 
    color:#ffffff; 
    font-family:"Arial Narrow", Arial, Helvetica, sans-serif; 
    margin-bottom:12px;
    display: inline-block;
}

.big-first-letter::first-letter {
    font-size: 100px;
}

@keyframes economics-text-move {
    0% {
        translate: 0px 0px;
    }
    14% {
        translate: 0px 0px;
    }
    17% {
        translate: 5px 0px;
    }
    16.79% {
        clip-path: inset(0 0 0 0);
    }
    40% {
        translate: -462px 0px;
        clip-path: inset(0 0 0 163px);
    }
    100% {
        translate: -462px 0px;
        clip-path: inset(0 0 0 163px);
    }
}

.transition-text strong {
    transition: opacity 1.5s ease;
}

.transition-text.off strong {
    z-index: 5;
    opacity: 0;
}

.transition-text.on strong {
    z-index: 6;
    opacity: 1;
}

.stack-elements {
  position: relative;
  display: inline-block;
}

.stack-elements div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

@font-face {
    font-family: 'Arial Narrow';
    src: url('./fonts/arialnarrow.ttf') format('woff2'),
         url('./fonts/arialnarrow.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Arial Narrow';
    src: url('./fonts/arialnarrow_bold.ttf') format('woff2'),
         url('./fonts/arialnarrow_bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

h2 {
    font-size:90px; 
    font-weight:normal; 
    color:#ffffff; 
    font-family:"Arial Narrow", Arial, Helvetica, sans-serif; 
    margin-bottom:12px;
    display: inline-block;
}

.pages a h2 {
    font-size: clamp(4px, 1.6vw, 20px);
    letter-spacing: 0.7px;
    font-weight:normal; 
    color:#ffffff; 
    font-family:"Arial", Arial, Helvetica, sans-serif; 
    display: inline-block;
}

.pages a {
    padding: clamp(10px, 1.5vw, 40px) clamp(5px, 1.5vw, 20px);
}

h3 {
    font-size:40px; 
    font-weight:normal; 
    color:#cecece; 
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:12px;
    display: inline-block;
}

.dot {
    position: absolute;
    left: 48%;
    top: 130px;
    height: 2px;
    width: 2px;
    border-radius: 3px;
    background-color: #f00;
    border-width: 3px;
    border-color: #f00;
    animation-name: dot-expand;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.dot-description {
    position: absolute;
    margin-left: 20px;
    top: 200px;
    animation-name: dot-description-reveal;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

:root {
    --header-scale: 1;
    --left-transform: 0px;
}

@media (max-width: 950px) {
    :root {
        --header-scale: 0.8;
        --left-transform: -100px;
    }
}

@media (max-width: 800px) {
    :root {
        --header-scale: 0.7;
        --left-transform: -180px;
    }
}

@media (max-width: 700px) {
    :root {
        --header-scale: 0.6;
        --left-transform: -320px;
    }

    .expand-when-small {
        width: 100% !important;
    }

    .disappear-when-small {
        display: none;
    }
}

@media (max-width: 580px) {
    :root {
        --header-scale: 0.48;
        --left-transform: -550px;
    }
}

@media (max-width: 470px) {
    :root {
        --header-scale: 0.45;
        --left-transform: -615px;
    }
}







#logo-system {
    transform: scale(var(--header-scale, 1)) translateX(var(--left-transform, 0px));

    animation-name: logo-system-move;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

#top-header::before {
    transform: translateX(calc(-50% + var(--left-transform, 0px) * 0.5));
}

@keyframes logo-system-move {
    0% {
    }
    18% {
        translate: 0px 0px;
        clip-path: inset(0 0 0 0);
    }
    40% {
        translate: 90px 0;
        clip-path: inset(0 140px 0 0);
    }
    100% {
        translate: 90px 0;
        clip-path: inset(0 140px 0 0);
    }
}

@keyframes dot-expand {
    0% {
    }
    10% {
        translate: 0px -49px;
        height: 100px;
    }
    15% {
        translate: 0px -49px;
        height: 100px;
    }
    18% {
        translate: 0px -49px;
        height: 100px;
    }
    40% {
        translate: -287px -49px;
    }
    45% {
        translate: -287px -49px;
        height: 330px;
    }
    52% {
        translate: -287px -49px;
        height: 330px;
    }
    100% {
        translate: -287px -49px;
        height: 330px;
    }
}

@keyframes dot-description-reveal {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    18% {
        translate: 0px 0px;
    }
    35% {
        clip-path: inset(0 100% 0 0);
    }
    40% {
        translate: -287px 0px;
    }
    45% {
        translate: -287px 0px;
    }
    80% {
        clip-path: inset(0 0% 0 0);
        translate: -287px 0px;
    }
    100% {
        translate: -287px 0px;
    }
}






.section-white h1 {
    font-size:50px;
    font-weight:bold;
    color:#123e69;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:12px;
}

.section-white .breaks {
    width: 200px; 
    height: 2px; 
    background-color: #1e77d1; 
    border-color: #1e77d1; 
    border-radius: 3px; 
    border-width: 1px;
    margin: 0;
}

.section-white p {
    font-size:18px;
    font-weight:normal;
    color:#616161;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:12px;
    display: inline-block;
    max-width: 850px;
}

.section-blue h1 {
    font-size:50px;
    font-weight:bold;
    color:#ffffff;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:12px;
}

.section-blue .breaks {
    width: 200px; 
    height: 2px; 
    background-color: #1e77d1; 
    border-color: #1e77d1; 
    border-radius: 3px; 
    border-width: 1px;
    margin: 0;
}

.section-blue p {
    font-size:18px;
    font-weight:normal;
    color:#cecece;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:12px;
    display: inline-block;
    max-width: 850px;
}

@media (max-width: 1400px) {
    .third-listed {
        display: none;
    }
}

.listed-expert {
    width: calc(1250px / 3);
    text-align: center;
    overflow: hidden;
    transition: height 0.3s ease;
    height: 484px;
    margin-bottom: 35px;
}

.listed-expert-bottom {
    text-align: left;
    transition: 0.75s ease-in-out;
    width: 381px;
    height: 104px;
    background-color: #123e69;
    transform: translate(calc(((1250px / 3) - 380px)/2 - 0.5px), -4px);
}

.listed-expert-bottom h2 {
    font-size:27px;
    font-weight:normal;
    color:#ffffff;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:0px;
    margin-left: 30px;
    line-height: 1;
    display: inline-block;
}

.listed-expert-bottom h3 {
    transition-timing-function: linear;
    transition-duration: 0.25s;
    font-size:20px;
    font-weight:normal;
    color:#cecece;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:0px;
    margin-left: 30px;
    margin-top:7px;
    line-height: 1;
    display: inline-block;
}

.listed-expert:hover .listed-expert-bottom {
    position: relative;
    transform: translate(calc(((1250px / 3) - 380px)/2 - 0.5px), -384px);
    height: 484px;
}

.listed-expert:hover {
    cursor: pointer;
}

.listed-expert-bottom .breaks {
    width: 250px;
    height: 3px;
    background-color: #1e77d1; 
    border-color: #1e77d1; 
    border-radius: 3px; 
    border-width: 2px;
    margin: 0;
}

.listed-expert-bottom a h3 {
    margin-bottom: 25px;
    color:#cecece;
    transition-timing-function: linear;
    transition-duration: 0.25s;
}

.listed-expert-bottom a img {
    width: 30px; 
    height: 30px; 
    filter: brightness(0.808);
    transition-timing-function: linear;
    transition-duration: 0.25s;
    transform: translate(30px, 7.5px);
}

.listed-expert-bottom a:hover h3 {
    color: white;
    transform: scale(1.05);
}

.listed-expert-bottom a:hover img {
    filter: brightness(1);
    transform: scale(1.05) translate(28.75px, 6.875px);
}

a img {
    border: none;
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}








.listed-expertise {
    width: calc(1250px / 3);
    transition: height 0.3s ease;
    height: 380px;
    margin-bottom: 55px;
}

.listed-expertise .breaks {
    width: 250px;
    height: 3px;
    background-color: #1e77d1; 
    border-color: #1e77d1; 
    border-radius: 3px; 
    border-width: 2px;
    margin: 0;
}

.listed-expertise h1 {
    font-size:35px;
    font-weight:normal;
    color:#ffffff;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:0px;
    margin-left: 30px;
    margin-right: 30px;
    line-height: 1;
    display: inline-block;
}

.listed-expertise h2 {
    font-size:27px;
    font-weight:normal;
    color:#ffffff;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:0px;
    margin-left: 30px;
    margin-right: 30px;
    line-height: 1;
    display: inline-block;
}

.listed-expertise h3 {
    font-size:25px;
    font-weight:normal;
    color:#cecece;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:0px;
    margin-left: 30px;
    margin-right: 30px;
    margin-top:30px;
    max-width: 320px;
    line-height: 1;
    display: inline-block;
}

.pop-out-card {
    width: 380px;
    height: 400px;
    margin-left: calc(((1250px / 3) - 380px) / 2);
    background-color: #123e69;
    transition: 0.5s;
    transform-style: preserve-3d;
}

.listed-expertise:hover .pop-out-card {
    transform: rotateY(180deg);
    cursor: pointer;
}

.card-front,
.card-back {
    position: absolute;
    width: 380px;
    height: 400px;
    backface-visibility: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-back {
  transform: rotateY(180deg);
  background: #7898b6;
}

.fade-top{
    display:block;
    width:100%;
    height:auto;
    --fade-size: 200px;

    /* Chrome/Safari/Edge */
    -webkit-mask-image: linear-gradient(
        to top,
        black 0,
        black calc(100% - var(--fade-size)),
        transparent 100%
    );
    -webkit-mask-repeat: no-repeat;

    /* Firefox */
    mask-image: linear-gradient(
        to top,
        black 0,
        black calc(100% - var(--fade-size)),
        transparent 100%
    );
    mask-repeat: no-repeat;
}

button h4 {
    font-size:20px;
    font-weight:normal;
    color:white;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:0px;
    margin-left: 30px;
    margin-right: 30px;
    margin-top:0px;
    line-height: 1;
    display: inline-block;
}

button {
    border-radius: 20px;
    padding: 10px;
    border-width: 5px;
    background-color: #f00;
    border-style:none;
    transition: 0.5s;
}

button:hover {
    cursor: pointer;
    filter: brightness(1.1);
    transform: scale(1.05);
}

.fade-from-right {
    -webkit-mask-image: 
        linear-gradient(to bottom, transparent 0%, black 30%),
        linear-gradient(to top, transparent 0%, black 30%),
        linear-gradient(to right, transparent 0%, black 30%);
    -webkit-mask-composite: destination-in;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%, 100% 100%, 100% 100%;

    mask-image: 
        linear-gradient(to bottom, transparent 0%, black 30%),
        linear-gradient(to top, transparent 0%, black 30%),
        linear-gradient(to right, transparent 0%, black 30%);
    mask-composite: intersect;
}

.fade-bottom {
    -webkit-mask-image: 
        linear-gradient(to top, transparent 0%, black 30%);
    -webkit-mask-composite: destination-in;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%, 100% 100%, 100% 100%;

    mask-image: 
        linear-gradient(to top, transparent 0%, black 30%);
    mask-composite: intersect;
}



#bottom-section {
    padding-top: 20px;
    padding-bottom: 10px;
    width: 100%;                  /* container width relative to viewport */
    margin: 0 auto;              /* horizontally center the container */
    box-sizing: border-box;

    display: flex;
    flex-direction: column;      /* stack children vertically */
    flex-wrap: wrap;

    justify-content: flex-start; /* stack from top */
    align-items: center;     /* children align to left */
    
    position: relative;          /* no absolute positioning */
    z-index: 5;
    background-color: #123e69;
}

#bottom-section a h1 {
    font-size:17px;
    font-weight:bold;
    color:white;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:0px;
    margin-left: 10%;
    margin-right: 10%;
    margin-top:0px;
    line-height: 1;
    display: inline-block;
    overflow-wrap:break-word;
}

#bottom-section a h1:hover {
    color:#d0d0d0;
}

#bottom-section h2 {
    font-size:13px;
    font-weight:normal;
    color:#9e9e9e;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:5px;
    padding-left: 10%;
    padding-right: 10%;
    margin-top:0px;
    line-height: 0.98;
    display: inline-block;
    overflow-wrap:break-word;
}

#bottom-section a {
    font-size:15px;
    font-weight:normal;
    color:#9e9e9e;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom:8px;
    padding-left: 10%;
    padding-right: 10%;
    margin-top:0px;
    line-height: 0.98;
    display: inline-block;
    overflow-wrap: anywhere;
}

#bottom-section a:hover {
    cursor: pointer;
    color:#d0d0d0;
}

#bottom-section div hr {
    width: 50px;
    height: 1px;
    background-color: #1e77d1; 
    border-color: #1e77d1; 
    border-radius: 3px; 
    border-width: 1px;
    margin: 0;
    text-align: center;
}

#bottom-section hr {
    width: 90%;
    height: 1px;
    background-color: #0d559d; 
    border-color: #0d559d; 
    border-radius: 3px; 
    border-width: 1px;
    margin: 0;
    text-align: center;
}