/* Hero Section Styles */
.hero-video-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    width: 100%;
}
.hero-video-section video {
    position: absolute;
    top: -0.27%;
    left: 0;
    width: 100%;
    height: 112.03%;
    object-fit: cover;
    z-index: 0;
}
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.hero-logo-container {
    position: absolute;
    left: 50%;
    top: 281px;
    transform: translateX(-50%);
    width: 138.13px;
    height: 138.13px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-logo-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

/* Scroll Indicator Arrow */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #c4d3c7;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.scroll-down-arrow svg {
    width: 34px;
    height: 34px;
    animation: bounce 2s infinite;
}

.scroll-down-arrow:hover {
    color: #ffffff;
    transform: translateY(5px);
}

.hero-scroll-indicator.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hero-video-section {
        height: 500px;
    }
    .hero-logo-container {
        top: 200px;
        width: 100px;
        height: 100px;
    }
    .hero-scroll-indicator {
        bottom: 20px;
    }
    .scroll-down-arrow {
        width: 40px;
        height: 40px;
    }
}

.mission-section {
    padding: 100px 0;
}
.mission-text {
    font-family: 'Nimbus Sans L', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: #043040;
    max-width: 903px;
    margin: 0 auto;
    padding-left: 47px;
    position: relative;
    z-index: 1;
}
.mission-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 249px;
    background-color: #043040;
    z-index: 2;
}

.practice-areas-section {
    background-color: rgba(196, 211, 199, 0.21);
    padding: 100px 0;
}
.practice-area-item {
    margin-bottom: 60px;
}
.practice-area-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    transform: translateY(0);
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    padding: 20px;
    border-radius: 4px;
}
.practice-area-item a:hover {
    text-decoration: none;
    transform: translateY(-2px);
    background-color: #c4d3c7;
}
.practice-area-title {
    font-family: 'Nimbus Sans L', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    color: #043040;
    text-transform: uppercase;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}
.practice-area-text {
    font-family: 'Nimbus Sans L', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #043040;
    transition: color 0.3s ease;
}
.practice-area-divider {
    width: 100%;
    height: 1px;
    background-color: #C4D3C7;
    margin: 1rem 0;
    transition: background-color 0.3s ease;
}
.practice-area-item a:hover .practice-area-divider {
    background-color: #043040;
}

.team-section {
    background-color: #043040;
    position: relative;
    padding: 120px 0 80px;
    overflow: visible;
}
.team-slider {
    position: relative;
    margin-top: -12rem;
    padding-left: 1rem;
}
.team-slider .slick-list {
    margin: 0 -15px;
}
.team-slider .slick-slide {
    height: 100%;
    padding: 0 15px;
    display: flex;
}
.team-slider .slick-slide:focus {
    outline: none;
}
.team-member-slide {
    height: 100%;
}
.team-member-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: 100%;
}
.team-member-link:hover {
    text-decoration: none;
    transform: translateY(-5px);
}
.team-member-link:focus-visible {
    outline: 2px solid #c4d3c7;
    outline-offset: 4px;
    transform: translateY(-5px);
}
.team-member-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: transparent;
}
.team-member-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;    
}
.team-member-bar {
    width: 100%;
    height: 15px;
    background-color: #c4d3c7;
    margin-bottom: 20px;
}
.team-member-name {
    font-family: 'Nimbus Sans L', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.team-member-title {
    font-family: 'Nimbus Sans L', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #c4d3c7;
}

.team-slider .slick-prev,
.team-slider .slick-next {
    position: absolute;
    top: calc(50% - 3rem);
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(196, 211, 199, 0.6);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(4, 48, 64, 0.7);
    color: #c4d3c7;
    z-index: 2;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.team-slider .slick-prev {
    left: 16px;
}
.team-slider .slick-next {
    right: 16px;
}
.team-slider .slick-prev:hover,
.team-slider .slick-next:hover,
.team-slider .slick-prev:focus-visible,
.team-slider .slick-next:focus-visible {
    background: rgba(196, 211, 199, 0.9);
    border-color: rgba(196, 211, 199, 0.9);
    color: #043040;
    outline: none;
}
.team-slider .slick-prev:before,
.team-slider .slick-next:before {
    display: none;
}
.team-slider .slick-arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    line-height: 1;
    font-weight: 400;
    width: 100%;
    height: 100%;
    color: inherit;
    transform: translateY(-.125em);
}

@media (max-width: 992px) {
    .team-section {
        padding: 100px 0 60px;
    }    
    .team-slider .slick-prev {
        left: 8px;
    }
    .team-slider .slick-next {
        right: 8px;
    }
}

@media (max-width: 576px) {
    .team-section {
        padding: 80px 0 40px;
    }
    .team-slider {
        margin-top: -8rem;
        padding: 0;
    }
    .team-slider .slick-list {
        margin: 0;
    }
    .team-slider .slick-slide {
        padding: 0 12px;
    }
    .team-slider .slick-prev,
    .team-slider .slick-next {
        width: 40px;
        height: 40px;
    }
    .team-slider .slick-prev {
        left: 4px;
    }
    .team-slider .slick-next {
        right: 4px;
    }
}

.contact-form-section {
    padding: 100px 0;
}
.contact-form-title {
    font-family: 'Nimbus Sans L', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #043040;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
}
.contact-form-input,
.contact-form-textarea {
    background-color: #f0f7ed;
    border: none;
    padding: 12px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #043040;
    width: 100%;
    margin-bottom: 20px;
}
.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: #043040;
    opacity: 0.7;
}
.contact-form-textarea {
    min-height: 122px;
}
.contact-form-submit {
    background-color: #043040;
    color: #c4d3c7;
    border: none;
    padding: 12px 30px;
    font-family: 'Nimbus Sans L', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.contact-form-submit:hover {
    background-color: #073040;
}

.news-section {
    background-color: #f0f7ed;
    padding: 100px 0;
}
.news-title {
    font-family: 'Nimbus Sans L', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #043040;
    text-transform: uppercase;
    margin-bottom: 50px;
}
.news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.35fr);
    grid-template-rows: repeat(3, minmax(0, 12rem));
    grid-template-areas:
        "feature-image secondary-top"
        "feature-image secondary-middle"
        "feature-content secondary-bottom";
    gap: 0px 1rem;
}
.news-card {
    position: relative;
}

.news-card--feature {
    display: contents;
}
.news-card__figure {
    grid-area: feature-image;
    margin: 0;
    border-bottom: 1rem solid #C4D3C7;
    overflow: hidden;
}
.news-card__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;        
}

.news-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.news-card--feature .news-card__content {
    grid-area: feature-content;        
    border-bottom: 1px solid #043040;
}
.news-card__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: #859c99;
    margin: 0;
}
.news-card__excerpt {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #043040;
    margin: 0;
}
.news-card__link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #043040;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.news-card__link-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
}
.news-card--secondary {
    background-color: transparent;
    padding: 0;
    border-bottom: 1px solid #043040;
    border-radius: 0;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 140px);
    gap: 16px 24px;
    align-items: center;    
}
.news-card--secondary-bottom {    
    padding-bottom: 0;
}
.news-card--secondary .news-card__media {
    justify-self: end;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-bottom: .5rem solid #C4D3C7;

}
.news-card--secondary-top {
    grid-area: secondary-top;
}
.news-card--secondary-middle {
    grid-area: secondary-middle;
}
.news-card--secondary-bottom {
    grid-area: secondary-bottom;
}
.news-card--feature .news-card__link {
    align-self: flex-start;
}
.news-read-all {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #043040;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 48px;
    gap: 8px;
}
/* Force the CHS- image to be positioned at the top center */
.news-card img[src*="CHS-"] {
    object-position: top center;
}

@media (max-width: 1199.98px) {
    .news-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
        "feature-image"        
        "feature-image"
        "feature-content"
        "secondary-top"
        "secondary-middle"
        "secondary-bottom";
        row-gap: 2rem;
    }
    .news-card--secondary {
        grid-template-columns: minmax(0, 1fr) minmax(0, 10rem);        
    }
    .news-card--secondary .news-card__media {
        justify-self: flex-start;
    }
    .news-card--secondary, .news-card--feature .news-card__content {        
        padding-bottom: 2rem;   
    }
}
/*
@media (max-width: 767.98px) {
    .news-card--secondary {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;        
    }
    .news-card--secondary .news-card__media {
        justify-self: flex-start;
    }
    .news-card--feature .news-card__content {        
        gap: 16px;
    }
}
*/