
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, p, span, a, div, button{
    font-family: "ff-din-paneuropean", sans-serif !important;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "ff-din-paneuropean-cond", sans-serif !important;
}

main {
    padding-top: 7.35em;
}

/* ==========================================
   HOME HERO SECTION
========================================== */

.home-hero {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-image: url(../images/home-hero-img.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgb(0 26 46 / 90%), rgb(0 26 46 / 50%) );
    z-index: 1;
    --fill-layer-image-opacity: 1;
}

.hero-container {
    position: relative;
    z-index: 2;

    width: 85%;
    max-width: 1620px;
    margin: 0 auto;

    padding: 80px 0;
}

.hero-content {
    max-width: 690px;
    color: #fff;
}

.hero-content h1 {
    font-size: clamp(50px, 3.9vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #fff;
}

.hero-content p {
    font-size: 22px;
    line-height: 1.6;
    max-width: 650px;
    margin-bottom: 28px;
    color: #fff;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 165px;
    min-height: 54px;
    padding: 14px 25px;

    background: #fff;
    color: #002D46;

    border-radius: 5px;

    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    transition: .25s ease;
}

.hero-button:hover {
    background: #00B5D1;
    color: #fff;
    transform: translateY(-2px);
}


/* ==========================================
   STATISTICS SECTION
========================================== */

.statistics-section {
    width: 100%;
    background-color: #002b49;
    padding: 60px 0;
}

.statistics-container {
    width: 85%;
    max-width: 1620px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


/* Individual statistic */

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 10px 20px;
    min-height: 125px;
}


/* Vertical dividers */

.stat-item:not(:last-child) {
    border-right: 1px solid rgba(0, 181, 209, 0.15);
}


/* Numbers */

.stat-item h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: #00B5D1;
    margin-bottom: 20px;
}


/* Labels */

.stat-item p {
    font-family: "ff-din-paneuropean-cond", sans-serif !important;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
}


/* ==========================================
   STATISTICS RESPONSIVE
========================================== */

@media (max-width: 768px) {

    .statistics-section {
        padding: 35px 0;
    }

    .statistics-container {
        width: 90%;
    }

    .stat-item {
        padding: 10px;
        min-height: 110px;
    }

    .stat-item h2 {
        font-size: 42px;
        margin-bottom: 15px;
    }

    .stat-item p {
        font-size: 19px;
    }

}


@media (max-width: 480px) {

    .statistics-container {
        grid-template-columns: 1fr;
        width: 85%;
    }

    .stat-item {
        padding: 25px 10px;
        min-height: auto;
    }

    .stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(0, 181, 209, 0.2);
    }

    .stat-item h2 {
        font-size: 44px;
        margin-bottom: 12px;
    }

    .stat-item p {
        font-size: 22px;
    }

}


/* ==========================================
   WHO WE ARE SECTION
========================================== */

.who-we-are-section {
    width: 100%;
    background: #ffffff;
    padding: 100px 0;
}

.who-we-are-container {
    width: 85%;
    max-width: 1620px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}


/* ==========================================
   LEFT CONTENT
========================================== */

.who-we-are-content {
    width: 100%;
}

.section-eyebrow {
    display: block;
    font-size: 25px;
    font-weight: 400;
    color: #002D46;
    margin-bottom: 5px;
}


.who-we-are-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #002D46;
    margin-bottom: 30px;
}


.who-we-are-description p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.55;
    color: #002D46;
    margin-bottom: 32px;
}

.who-we-are-description p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   RIGHT VIDEO
========================================== */

.who-we-are-video {
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;
    background: #eeeeee;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: none;
}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1024px) {

    .who-we-are-container {
        width: 90%;
        gap: 40px;
    }

    .who-we-are-content h2 {
        font-size: 42px;
        margin-bottom: 28px;
    }

    .section-eyebrow {
        font-size: 22px;
    }

    .who-we-are-description p {
        font-size: 17px;
    }
    .page-navigation-main {
        position: relative !important;
        z-index: 99 !important;
        top: 0 !important;
    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 768px) {

    .who-we-are-section {
        padding: 60px 0;
    }

    .who-we-are-container {
        grid-template-columns: 1fr;
        gap: 35px;
        width: 90%;
    }

    .who-we-are-content h2 {
        font-size: 38px;
        margin-bottom: 25px;
    }

    .section-eyebrow {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .who-we-are-description p {
        font-size: 18px;
        line-height: 1.65;
        margin-bottom: 22px;
    }

    .who-we-are-video {
        width: 100%;
    }

}


@media (max-width: 480px) {

    .who-we-are-content h2 {
        font-size: 34px;
    }

    .who-we-are-description p {
        font-size: 17px;
    }

}


/* ==========================================
   CONSULTATION CTA SECTION
========================================== */

.consultation-cta {
    position: relative;
    width: 100%;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/home-consultation-img.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    overflow: hidden;
}


/* Dark overlay */

.consultation-cta-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 26, 46, 0.72);

    z-index: 1;
}


/* Content container */

.consultation-cta-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1600px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Heading */

.consultation-cta-container h2 {
    font-size: clamp(30px, 2.6vw, 48px);
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 12px;
}


/* Description */

.consultation-cta-container p {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 50px;
}


/* Consultation button */

.consultation-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #00AFC9;
    color: #ffffff;
    padding: 25px 38px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

.consultation-cta-button:hover {
    background: #008FA9;
    transform: translateY(-3px);
}

.consultation-cta-button svg {
    flex-shrink: 0;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1024px) {

    .consultation-cta {
        padding: 65px 5%;
    }

    .consultation-cta-container h2 {
        font-size: 34px;
    }

    .consultation-cta-container p {
        font-size: 19px;
        margin-bottom: 35px;
    }

}


@media (max-width: 600px) {

    .consultation-cta {
        padding: 55px 6%;
        background-position: center;
    }

    .consultation-cta-overlay {
        background: rgba(0, 26, 46, 0.78);
    }

    .consultation-cta-container h2 {
        font-size: 35px;
        line-height: 1.25;
        margin-bottom: 18px;
    }

    .consultation-cta-container p {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .consultation-cta-button {
        padding: 19px 25px;
        font-size: 16px;
        border-radius: 7px;
    }

}


/* ==========================================
   SERVICES SECTION
========================================== */

.services-section {
    width: 100%;
    background: #F5F5F5;
    padding: 100px 0;
}

.services-container {
    width: 85%;
    max-width: 1620px;
    margin: 0 auto;
}


/* ==========================================
   SECTION HEADER
========================================== */

.services-header {
    text-align: center;
    margin-bottom: 55px;
}

.services-eyebrow {
    display: block;
    font-family: "ff-din-paneuropean-cond", sans-serif;
    font-size: 22px;
    color: #002D46;
    margin-bottom: 16px;
    font-weight: 300;
}

.services-header h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #002D46;
    margin-bottom: 15px;
}

.services-header p {
    font-size: 20px;
    line-height: 1.5;
    color: #002D46;
}


/* ==========================================
   SERVICES GRID
========================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}


/* ==========================================
   SERVICE CARD
========================================== */

.service-card {
    background: #FFFFFF;
    border: 1px solid #E5E0DA;
    border-radius: 12px;

    padding: 32px 22px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    transition:
        box-shadow .25s ease,
        transform .25s ease;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 45, 70, 0.08);
    transform: translateY(-3px);
}


/* ==========================================
   SERVICE ICON
========================================== */

.service-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #F0F2F4;
    border-radius: 9px;

    margin-bottom: 20px;
}

.service-icon svg {
    width: 29px;
    height: 29px;
    color: #002D46;
}


/* ==========================================
   SERVICE CATEGORY
========================================== */

.service-category {
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #00AFC9;
    margin-bottom: 18px;
}


/* ==========================================
   SERVICE TITLE
========================================== */

.service-card h3 {
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 14px;
}

.service-card h3 a {
    color: #002D46;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s ease;
}

.service-card h3 a:hover {
    color: #00AFC9;
}


/* ==========================================
   SERVICE TAGS
========================================== */

.service-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.service-tags a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #00AFC9;
    color: #FFFFFF;

    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 11px;
    font-weight: 700;

    line-height: 1.2;
    text-decoration: none;

    padding: 9px 12px;
    border-radius: 3px;

    transition: background .2s ease;
}

.service-tags a:hover {
    background: #007F9B;
}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1024px) {

    .services-container {
        width: 90%;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .services-header h2 {
        font-size: 38px;
    }

    .service-card h3 {
        font-size: 20px;
    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 600px) {

    .services-section {
        padding: 60px 0;
    }

    .services-container {
        width: 90%;
    }

    .services-header {
        margin-bottom: 35px;
    }

    .services-header h2 {
        font-size: 38px;
    }

    .services-header p {
        font-size: 18px;
    }

    .services-eyebrow {
        font-size: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        padding: 30px 18px;
    }

    .service-card h3 {
        font-size: 21px;
    }

    .service-tags a {
        font-size: 11px;
        padding: 8px 10px;
    }

}


/* ==========================================
   DUNCAN EXCELLENCE SECTION
========================================== */

.excellence-section {
    width: 100%;
    background: #FFFFFF;
    padding: 100px 0;
}

.excellence-container {
    width: 85%;
    max-width: 1620px;
    margin: 0 auto;
}


/* ==========================================
   SECTION HEADING
========================================== */

.excellence-heading {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #002D46;
    text-align: center;
    margin-bottom: 70px;
}


/* ==========================================
   CARDS GRID
========================================== */

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}


/* ==========================================
   INDIVIDUAL CARD
========================================== */

.excellence-card {
    background: #C9EDF5;
    border-radius: 15px;

    padding: 42px 30px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.excellence-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 45, 70, .08);
}


/* ==========================================
   CARD ICON
========================================== */

.excellence-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #222222;

    margin-bottom: 42px;
}

.excellence-icon svg {
    width: 64px;
    height: 64px;
}


/* ==========================================
   CARD TITLE
========================================== */

.excellence-card h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #002D46;
    margin-bottom: 22px;
}


/* ==========================================
   CARD DESCRIPTION
========================================== */

.excellence-card p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    color: #002D46;
    margin-bottom: 24px;
}


/* ==========================================
   LEARN MORE LINK
========================================== */

.excellence-link {
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    transition: color .2s ease;
}

.excellence-link:hover {
    color: #007F9B;
    text-decoration: underline;
}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1024px) {

    .excellence-container {
        width: 90%;
    }

    .excellence-grid {
        gap: 22px;
    }

    .excellence-heading {
        font-size: 36px;
        margin-bottom: 45px;
    }

    .excellence-card {
        padding: 32px 20px;
    }

    .excellence-card h3 {
        font-size: 21px;
    }

    .excellence-card p {
        font-size: 17px;
    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 768px) {

    .excellence-section {
        padding: 60px 0;
    }

    .excellence-container {
        width: 90%;
    }

    .excellence-heading {
        font-size: 32px;
        margin-bottom: 35px;
    }

    .excellence-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .excellence-card {
        padding: 35px 25px;
    }

    .excellence-icon {
        margin-bottom: 25px;
    }

    .excellence-icon svg {
        width: 55px;
        height: 55px;
    }

    .excellence-card h3 {
        font-size: 23px;
        margin-bottom: 15px;
    }

    .excellence-card p {
        font-size: 17px;
        margin-bottom: 20px;
    }

}


/* ==========================================
   HISTORY PAGE - GLOBAL
========================================== */

.history-page {
    width: 100%;
    overflow: hidden;
    color: #002D46;
}


/* ==========================================
   HISTORY HERO
========================================== */

.inner-pg-hero{
    position: relative;
    width: 100%;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/history-banner-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.inner-pg-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0, 15, 24, 0.72);
}

.inner-pg-hero-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    color: #FFFFFF;
}

.inner-pg-hero-content h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.inner-pg-hero-content p {
    font-size: 22px;
    line-height: 1.6;
    color: #FFFFFF;
}


/* ==========================================
   BUILDING OUR LEGACY
========================================== */

.legacy-section {
    background: #FFFFFF;
    padding: 100px 0;
}


/* INTRODUCTION */

.legacy-intro {
    padding-bottom: 38px;
    border-bottom: 1px solid #c7c7c7;
}

.legacy-intro h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #002D46;
    margin-bottom: 15px;
}

.legacy-intro p {
    max-width: 1050px;
    font-size: 20px;
    line-height: 1.5;
    color: #002D46;
}


/* ==========================================
   LEGACY TIMELINE ROWS
========================================== */

.legacy-timeline {
    display: flex;
    flex-direction: column;
}

.legacy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 65px;
    align-items: start;
    padding: 38px 0;
    border-bottom: 1px solid #c7c7c7;
}

.legacy-row:last-child {
    border-bottom: none;
}

.legacy-text {
    min-width: 0;
}

.legacy-text h3 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
    color: #002D46;
    margin-bottom: 17px;
}

.legacy-text p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #002D46;
    margin-bottom: 16px;
}

.legacy-text p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   LEADERSHIP PROFILE IMAGES
========================================== */

.legacy-profile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.legacy-profile img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;

    border-radius: 5px;
    margin-bottom: 12px;
}

.legacy-profile span {
    display: block;
    width: 100%;
    border-left: 2px solid #002D46;
    padding: 5px 0 5px 12px;
    font-family: "ff-din-paneuropean-cond", sans-serif !important;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #002D46;
}


/* ==========================================
   HISTORY QUOTE BANNER
========================================== */

.history-quote {
    position: relative;
    width: 100%;
    padding: 70px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url(../images/history-banner-2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.history-quote-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 35, 54, 0.55);
}

.history-quote-content {
    position: relative;
    z-index: 2;
    max-width: 1150px;
    color: #FFFFFF;
}

.history-quote-content blockquote {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.35;
    color: #FFFFFF;
    margin-bottom: 12px;
    font-family: 'ff-din-paneuropean-cond';
}

.history-quote-content span {
    font-size: 20px;
    color: #FFFFFF;
    font-weight: 600;
}


/* ==========================================
   OUR HISTORY GALLERY SECTION
========================================== */

.history-gallery-section {
    background: #FFFFFF;
    padding: 65px 0 85px;
}



/* =========================================
   HISTORY IMAGE CAROUSEL
========================================= */

.history-gallery {
    position: relative;
    width: 100%;
}

.history-gallery-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.history-gallery-viewport::-webkit-scrollbar {
    display: none;
}

.history-gallery-images {
    display: flex;
    width: 100%;
    gap: 0;
}

.history-gallery-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
}

.history-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1.8 / 1;
    object-fit: cover;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #FFFFFF;
    color: #002D46;
    cursor: pointer;
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-arrow:disabled,
.gallery-arrow.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.gallery-arrow svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 768px) {
    .history-gallery-item img {
        aspect-ratio: 1.4 / 1;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .history-gallery-item img {
        aspect-ratio: 1.1 / 1;
    }
}



/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1024px) {

    .legacy-row {
        grid-template-columns: minmax(0, 1fr) 180px;
        gap: 35px;
    }

    .legacy-text p {
        font-size: 13px;
    }

    .legacy-text h3 {
        font-size: 17px;
    }

    .history-gallery-images {
        gap: 20px;
    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 768px) {

    .inner-pg-hero{
        padding: 65px 6%;
        background-position: center;
    }

    .inner-pg-hero-content h1 {
        font-size: 45px;
    }

    .inner-pg-hero-content p {
        font-size: 20px;
    }

    .legacy-section {
        padding: 45px 0;
    }

    .legacy-row {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px 0;
    }

    .legacy-profile {
        max-width: 220px;
    }

    .legacy-intro h2 {
        font-size: 29px;
    }

    .legacy-intro p,
    .legacy-text p {
        font-size: 18px;
    }

    .history-quote {
        padding: 45px 6%;
    }

    .history-quote-content blockquote {
        font-size: 23px;
    }

    .history-gallery-section {
        padding: 50px 0;
    }

    .history-milestone {
        padding: 0 15px;
    }

    .milestone-dot {
        display: none;
    }

    .history-gallery-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .history-gallery {
        padding: 0 30px;
    }

    .history-gallery-item img {
        aspect-ratio: 16 / 9;
    }

}


/* ==========================================
   GLOBAL GENERIC SECTION STYLES
   Reusable across all website pages
========================================== */

/* SECTION SPACING */

.content-section {
    width: 100%;
    padding: 100px 0 !important;
}


/* SECTION CONTAINER */

.section-container {
    width: 85%;
    max-width: 1500px;
    margin: 0 auto;
}


/* SECTION HEADINGS */

.section-heading {
    font-family: "ff-din-paneuropean-cond", sans-serif !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    color: #002D46;
    margin-bottom: 25px;
}


/* SECTION INTRO PARAGRAPHS */

.section-paragraph, li {
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #33556d;
}


/* ==========================================
   HISTORY PAGE
========================================== */

.history-page {
    width: 100%;
    overflow: hidden;
    color: #002D46;
}


/* ==========================================
   BUILDING OUR LEGACY
========================================== */

.legacy-section {
    background: #FFFFFF;
}

.legacy-intro {
    margin-bottom: 55px;
}


/* TIMELINE ROWS */



/* PROFILE IMAGE */

.legacy-profile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.legacy-profile img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;

    border-radius: 5px;
    margin-bottom: 12px;
}




/* ==========================================
   HISTORY QUOTE BANNER
========================================== */

.history-quote {
    position: relative;

    background-image: url("../images/history-banner-2.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    text-align: center;
    color: #FFFFFF;
}

.history-quote-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 26, 46, 0.60);
}




/* ==========================================
   OUR HISTORY TIMELINE
========================================== */

.history-gallery-section {
    background: #FFFFFF;
}

.history-gallery-title {
    text-align: center;
}


/* MILESTONE GRID */


/* INDIVIDUAL MILESTONE */

.history-milestone {
    position: relative;
    text-align: center;
    padding: 0 10px;
    border-top: 3px solid #002d46;
    overflow: visible !important;
    margin-top: 23px;
}

.milestone-dot {
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #002D46;
    border: 2px solid #FFFFFF;
}

.history-milestone h3 {
    font-family: "ff-din-paneuropean-cond", sans-serif;
    font-size: 25px;
    font-weight: 600;
    color: #002D46;
    margin-bottom: 15px;
    margin-top: 20px;
}

.history-milestone img {
    margin-top: 40px;
}


/* ==========================================
   HISTORY IMAGE SLIDER
========================================== */

.history-gallery {
    position: relative;
    margin-top: 55px;
    padding: 0 35px;
}

.history-gallery-viewport {
    width: 100%;
    overflow: hidden;
}

.history-gallery-images {
    display: flex;
    gap: 25px;

    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;
}

.history-gallery-images::-webkit-scrollbar {
    display: none;
}

.history-gallery-item {
    flex: 0 0 calc((100% - 50px) / 3);
    min-width: 0;

    overflow: hidden;
    scroll-snap-align: start;
}

.history-gallery-item img {
    display: block;
    width: 100%;

    aspect-ratio: 1.45 / 1;
    object-fit: cover;

    transition: transform .35s ease;
}

.history-gallery-item:hover img {
    transform: scale(1.04);
}


/* SLIDER ARROWS */

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    background: #FFFFFF;
    border: 1px solid #B8C2C9;
    border-radius: 3px;

    color: #002D46;
    cursor: pointer;

    transition: background .2s ease, color .2s ease;
}

.gallery-arrow svg {
    width: 18px;
    height: 18px;
}

.gallery-arrow:hover {
    background: #002D46;
    color: #FFFFFF;
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1024px) {

    .section-container {
        width: 90%;
    }

    .section-heading {
        font-size: 40px;
    }

    .section-paragraph {
        font-size: 18px;
    }

    .legacy-row {
        grid-template-columns: minmax(0, 1fr) 150px;
        gap: 25px;
    }

    .history-gallery-item {
        flex-basis: calc((100% - 25px) / 2);
    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 600px) {

    .content-section {
        padding: 60px 0;
    }

    .section-container {
        width: 90%;
    }

    .section-heading {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .section-paragraph, .li {
        font-size: 18px !important;
    }

    .section-heading {
        font-size: 35px !important;
    }

    .content-section {
        padding: 60px 0 !important;
    }
    /* LEGACY */

    .legacy-intro {
        margin-bottom: 35px;
    }

    .legacy-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 0;
    }

    .legacy-text h3 {
        font-size: 25px;
    }

    .legacy-text p {
        font-size: 18px;
    }

    .legacy-profile {
        max-width: 180px;
    }


    /* QUOTE */

    .history-quote blockquote {
        font-size: 35px;
    }


    /* MILESTONES */

    .history-milestone {
        padding: 0 10px;
    }

    .milestone-dot {
        display: none;
    }


    /* GALLERY */

    .history-gallery {
        padding: 0 30px;
        margin-top: 35px;
    }

    .history-gallery-item {
        flex-basis: 100%;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 380px) {

    .section-heading {
        font-size: 29px;
    }

}

/* =================================
   GLOBAL BUTTON
================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #00AFC9;
    color: #FFFFFF;
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 16px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.btn svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.btn:hover {
    background: #008CA8;
    color: #FFFFFF;
}


/* ==========================================
   GENERIC PEOPLE / TEAM SECTION
========================================== */

.people-section {
    width: 100%;
    background: #F5F5F5;
    padding: 75px 0 90px;
}

.people-container {
    width: 85%;
    max-width: 1500px;
    margin: 0 auto;
}


/* SECTION TITLE */

.people-section-title {
    font-family: "ff-din-paneuropean-cond", sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #002D46;
    margin-bottom: 55px;
}


/* ==========================================
   PEOPLE GRID
========================================== */

.people-grid {
    display: flex;
    column-gap: 32px;
    row-gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ==========================================
   PEOPLE CARD
========================================== */

.people-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 30%;
}


/* IMAGE */

.people-card-image {
    width: 100%;
    overflow: hidden;
    border-radius: 9px;
    background: #E5E5E5;
    margin-bottom: 15px;
}

.people-card-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.people-card:hover .people-card-image img {
    transform: scale(1.04);
}


/* NAME */

.people-card-name {
    font-family: "ff-din-paneuropean-cond", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #002D46;
    margin-bottom: 7px;
}


/* POSITION / DESCRIPTION */

.people-card-position {
    font-family: "ff-din-paneuropean-cond", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: #456579;
    margin-bottom: 16px;
}


/* CARD LINK */

.people-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 12px;
    font-weight: 500;

    color: #002D46;
    text-decoration: none;
    transition: color .2s ease;
}

.people-card-link span {
    font-size: 16px;
    line-height: 1;
}

.people-card-link:hover {
    color: #00AFC9;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

    .people-container {
        width: 90%;
    }

    .people-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 22px;
    }

    .people-card-name {
        font-size: 15px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .people-section {
        padding: 55px 0 65px;
    }

    .people-section-title {
        font-size: 30px;
        margin-bottom: 35px;
    }

    .people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 16px;
    }

    .people-card-name {
        font-size: 18px;
    }

    .people-card-position {
        font-size: 14px;
    }

    .people-card-link {
        font-size: 11px;
    }

}


@media (max-width: 380px) {

    .people-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .people-card-image {
        max-width: 280px;
    }

}

.team-leadership{
    background-image: url(../images/team-banner.jpg) !important;
}

.inner-pg-hero a {
    margin-top: 25px;
}

/* =========================================
   KEYSTONE PARTNERSHIP PAGE
========================================= */

.partnerships-page {
    width: 100%;
    overflow: hidden;
    color: #002D46;
}

/* About Keystone */

.partnership-about-section {
    background: #FFFFFF;
}

.partnership-about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 65px;
}

.partnership-about-content .section-heading {
    margin-bottom: 25px;
}

.partnership-about-content .section-paragraph {
    margin-bottom: 22px;
}

.partnership-about-content .section-paragraph:last-child {
    margin-bottom: 0;
}

/* Logos */

.partnership-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 25px;
}

.partnership-duncan-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partnership-duncan-logo img {
    display: block;
    width: 85%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
}

/* Duncan Connection */

.partnership-connection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 35px;
    margin-top: 80px;
}

.partnership-connection-image {
    width: 100%;
    overflow: hidden;
    border-radius: 9px;
}

.partnership-connection-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
}

.partnership-connection-content .section-heading {
    margin-bottom: 22px;
}

/* Keystone Benefits */

.partnership-benefits-section {
    background: #F5F5F5;
}

.partnership-benefits-section .section-heading {
    margin-bottom: 25px;
}

.partnership-benefits-section .section-paragraph {
    margin-bottom: 22px;
}

.partnership-external-link {
    margin-bottom: 0 !important;
}

.partnership-external-link a {
    color: #00AFC9;
    text-decoration: underline;
    transition: color .25s ease;
}

.partnership-external-link a:hover {
    color: #008CA8;
}

/* Responsive */

@media (max-width: 1024px) {

    .partnership-about-grid {
        grid-template-columns: 1fr 0.8fr;
        gap: 35px;
    }

}

@media (max-width: 768px) {

    .partnership-about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .partnership-logos {
        max-width: 450px;
        margin: 0 auto;
    }

    .partnership-duncan-logo img {
        max-width: 280px;
    }

    .partnership-connection-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 60px;
    }

}

@media (max-width: 600px) {

    .partnership-connection-grid {
        margin-top: 45px;
    }

}

.keystone-main{
    background-image: url(../images/leadership-banner.jpg);
}

/* =========================================
   CAREERS PAGE
========================================= */

.careers-page {
    width: 100%;
    overflow: hidden;
    color: #002D46;
}


/* HERO BACKGROUND */

.careers-hero {
    background-image: url("../images/careers-banner.avif");
}


/* =========================================
   CAREERS CONTENT
========================================= */

.careers-content-section {
    background: #FFFFFF;
}

.careers-content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.careers-content-row + .careers-content-row {
    margin-top: 100px;
}

.careers-content-text {
    width: 100%;
}

.careers-content-text .section-heading {
    margin-bottom: 25px;
}

.careers-content-text .section-paragraph {
    margin-bottom: 30px;
}

.careers-detail-block {
    margin-bottom: 22px;
}

.careers-detail-block:last-child {
    margin-bottom: 0;
}

.careers-detail-block ol,
.careers-detail-block ul {
    padding-left: 25px;
    margin: 10px 0 0;
}

.careers-detail-block li {
    margin-bottom: 5px;
}

.careers-content-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.careers-content-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
}


/* =========================================
   JOIN OUR TEAM
========================================= */

.careers-join-block {
    margin-top: 30px;
}

.careers-join-block .section-heading {
    margin-bottom: 20px;
}

.careers-join-block .section-paragraph {
    margin-bottom: 22px;
}


/* =========================================
   CAREERS IMAGE CAROUSEL
========================================= */

.careers-gallery-section {
    background: #F5F5F5;
    overflow: hidden;
}

.careers-gallery {
    position: relative;
    width: 50%;
}

.careers-gallery-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    overflow-x: auto;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.careers-gallery-track::-webkit-scrollbar {
    display: none;
}

.careers-gallery-main {
    display: flex;
    justify-content: center;
}

.careers-gallery-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
}

.careers-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1.9 / 1;
    object-fit: cover;
}

/* Navigation arrows */

.careers-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border: none;
    background: transparent;
    color: #002D46;

    cursor: pointer;
}

.careers-gallery-arrow svg {
    width: 25px;
    height: 25px;
}

.careers-gallery-prev {
    left: 0;
}

.careers-gallery-next {
    right: 0;
}

/* Responsive */

@media (max-width: 768px) {

    .careers-gallery-track {
        padding: 15px 8%;
    }

    .careers-gallery-item {
        flex: 0 0 84%;
    }

}

@media (max-width: 480px) {

    .careers-gallery-track {
        padding: 10px 5%;
    }

    .careers-gallery-item {
        flex: 0 0 90%;
    }

}

.careers-content-section .section-heading {
    color: #00a9ce;
    font-weight: 600;
    font-size: 35px !important;
    line-height: 1.2 !important;
    margin-bottom: 40px !important;
}


/* =========================================
   CAREERS PAGE - RESPONSIVE STYLES
========================================= */

/* TABLET */
@media (max-width: 1024px) {

    /* Careers content */
    .careers-content-row {
        gap: 40px;
    }

    .careers-content-row + .careers-content-row {
        margin-top: 75px;
    }

    .careers-content-image img {
        aspect-ratio: 1.25 / 1;
    }

    /* Team gallery */
    .careers-gallery {
        width: 75%;
    }

}


/* TABLET AND MOBILE */
@media (max-width: 768px) {

    /* Hero */
    .careers-hero {
        background-position: center;
    }

    /* Careers content */
    .careers-content-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .careers-content-row + .careers-content-row {
        margin-top: 65px;
    }

    .careers-content-text {
        width: 100%;
    }

    .careers-content-text .section-heading {
        margin-bottom: 18px;
    }

    .careers-content-text .section-paragraph {
        margin-bottom: 22px;
    }

    .careers-detail-block {
        margin-bottom: 18px;
    }

    .careers-detail-block ol,
    .careers-detail-block ul {
        padding-left: 22px;
    }

    .careers-content-image {
        width: 100%;
    }

    .careers-content-image img {
        width: 100%;
        aspect-ratio: 1.6 / 1;
    }

    /* Join our team */
    .careers-join-block {
        margin-top: 25px;
    }

    /* Gallery */
    .careers-gallery-main {
        width: 100%;
    }

    .careers-gallery {
        width: 100%;
    }

    .careers-gallery-track {
        width: 100%;
        padding: 15px 8%;
        box-sizing: border-box;
    }

    .careers-gallery-item {
        flex: 0 0 84%;
        width: 84%;
        min-width: 84%;
    }

    .careers-gallery-item img {
        width: 100%;
        aspect-ratio: 1.5 / 1;
        object-fit: cover;
    }

    .careers-gallery-arrow {
        width: 35px;
        height: 35px;
    }

    .careers-gallery-arrow svg {
        width: 22px;
        height: 22px;
    }

}


/* MOBILE */
@media (max-width: 480px) {

    /* Content spacing */
    .careers-content-row {
        gap: 22px;
    }

    .careers-content-row + .careers-content-row {
        margin-top: 50px;
    }

    .careers-content-text .section-heading {
        margin-bottom: 15px;
    }

    .careers-content-text .section-paragraph {
        margin-bottom: 18px;
    }

    .careers-detail-block {
        margin-bottom: 16px;
    }

    .careers-detail-block ol,
    .careers-detail-block ul {
        padding-left: 20px;
    }

    .careers-detail-block li {
        margin-bottom: 8px;
    }

    .careers-content-image img {
        aspect-ratio: 1.25 / 1;
    }

    /* Join our team */
    .careers-join-block {
        margin-top: 20px;
    }

    .careers-join-block .section-heading {
        margin-bottom: 15px;
    }

    /* Gallery */
    .careers-gallery-track {
        padding: 10px 5%;
    }

    .careers-gallery-item {
        flex: 0 0 90%;
        width: 90%;
        min-width: 90%;
    }

    .careers-gallery-item img {
        aspect-ratio: 1.25 / 1;
    }

    .careers-gallery-arrow {
        width: 30px;
        height: 30px;
    }

    .careers-gallery-arrow svg {
        width: 20px;
        height: 20px;
    }

}


/* SMALL MOBILE */
@media (max-width: 360px) {

    .careers-gallery-track {
        padding: 10px 3%;
    }

    .careers-gallery-item {
        flex: 0 0 94%;
        width: 94%;
        min-width: 94%;
    }

}

/* =========================================
   COMMUNITY COMMITMENT PAGE
========================================= */

/* HERO */
.community-hero {
    background-image: url("../images/community/community-hero.jpg");
    background-position: center;
    background-size: cover;
}


/* INTRODUCTION HEADING */
.community-heading-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.community-heading-row .section-heading {
    margin: 0;
}

.community-intro-bold {
    font-family: 'ff-din-paneuropean-cond' !important;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
    color: #002d46;
    margin: 0 0 35px;
}

.community-description {
    margin-bottom: 35px;
}


/* COMMUNITY PHOTO GALLERY */
.community-gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 60px;
    margin-top: 50px;
}

.community-gallery-item {
    width: 100%;
    overflow: hidden;
    border-radius: 7px;
}

.community-gallery-item img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.community-gallery-item:hover img {
    transform: scale(1.05);
}


/* SPONSORED ORGANIZATIONS */
.community-sponsors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: start;
}

.community-subheading {
    font-family: "ff-din-paneuropean-cond", sans-serif;
    font-size: 35px;
    line-height: 1.2;
    font-weight: 600;
    color: #002d46;
    margin: 0 0 35px;
}


.community-sponsors-content .section-paragraph {
    margin-bottom: 35px;
}
.community-sponsors-content ul {
    padding-left: 25px;
}

/* COMMUNITY VIDEO / IMAGE */
.community-feature-media {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.community-feature-media > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 0.72 / 1;
    object-fit: cover;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1024px) {

    .community-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .community-gallery-item img {
        height: 200px;
    }

    .community-sponsors {
        gap: 30px;
    }

}

@media (max-width: 768px) {

    .community-heading-row {
        align-items: flex-start;
    }

    .community-sponsors {
        grid-template-columns: 1fr;
    }

    .community-feature-media {
        max-width: 600px;
    }

    .community-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .community-gallery-item img {
        height: 220px;
    }

}

@media (max-width: 480px) {
    .section-paragraph, li {
        font-size: 18px !important;
    }
    .community-gallery {
        gap: 8px;
    }

    .community-gallery-item img {
        height: 160px;
    }

    .community-intro-bold {
        font-size: 22px;
    }

    .community-subheading {
        font-size: 26px;
    }

}

.community-hero{
    background-image: url(../images/careers-slider-1.avif);
}

/* =========================================
   FOOTER CTA
========================================= */

.footer-cta {
    width: 100%;
    background: #002b49;
    padding: 100px 0;
    text-align: center;
    box-sizing: border-box;
}

.footer-cta-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.footer-cta h2 {
    font-family: "ff-din-paneuropean-cond", sans-serif;
    font-size: 45px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 20px;
}

.footer-cta p {
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
    margin: 0 0 30px;
}




/* RESPONSIVE */

@media (max-width: 768px) {

    .footer-cta {
        padding: 100px 20px;
    }

    .footer-cta h2 {
        font-size: 36px;
    }

    .footer-cta p {
        font-size: 19px;
    }

    .footer-cta .btn {
        min-width: 230px;
        min-height: 65px;
        font-size: 17px;
    }

}

@media (max-width: 480px) {

    .footer-cta {
        padding: 80px 20px;
    }

    .footer-cta h2 {
        font-size: 30px;
    }

    .footer-cta p {
        font-size: 17px;
    }

}



/* =========================================
   PARTNERSHIPS PAGE
========================================= */

.partnerships-intro {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 45px;
}

.partnerships-intro .section-paragraph {
    flex: 1;
    margin: 0;
    text-align: center;
}


/* PARTNERSHIP GRID */

.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}


/* PARTNERSHIP CARDS */

.partnership-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 24px 18px;
    border: 1px solid #e8e5e1;
    border-radius: 5px;
    background: #fff;
    min-width: 0;
}

.partnership-logo {
    width: 100%;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.partnership-logo img {
    display: block;
    max-width: 78%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partnership-card .partnership-description {
    flex: 1;
    margin: 15px 0 20px;
    font-size: 18px;
    line-height: 1.5;
}

.partnership-card .btn {
    margin-top: auto;
    padding: 14px 24px;
    min-height: 46px;
    font-size: 15px;
}

.partnership-card .btn span {
    font-size: 20px;
    line-height: 1;
}


/* RESPONSIVE */

@media (max-width: 1024px) {
    .partnerships-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .partnerships-intro {
        gap: 12px;
        margin-bottom: 35px;
    }

    .partnerships-intro .section-paragraph {
        text-align: left;
    }

    .partnership-card {
        padding: 20px 18px;
    }
}

@media (max-width: 520px) {
    .partnerships-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .partnership-logo {
        height: 90px;
    }

    .partnership-logo img {
        max-height: 75px;
    }
}


.partnerships-hero{
    background-image: url(../images/partners-banner.avif);
}


/* =========================================
   FAQ PAGE
========================================= */

/* HERO */
.faq-hero {
    background-image: url("../images/faq/faq-hero.jpg");
    background-position: center;
    background-size: cover;
}



/* =========================================
   FAQ PAGE CONTENT
========================================= */

.faq-category {
    margin-bottom: 30px;
}

.faq-category > .section-heading {
    margin: 0 0 30px;
    padding-bottom: 9px;
    border-bottom: 1px solid #c9c9c9;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    width: 100%;
    margin-bottom: 25px;
}

.faq-item .faq-question {
    margin: 0 0 5px;
    color: #002b47;
    font-size: 22px;
}

.faq-item .faq-answer {
    margin: 0;
}

.faq-item .faq-question strong {
    font-weight: 700;
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .faq-category {
        margin-bottom: 25px;
    }

    .faq-list {
        gap: 13px;
    }

}


.faq-hero{
    background-image: url(../images/faq-banner.avif);
}



/* =========================================
   PODCAST PAGE
========================================= */

/* HERO */
.discover-duncan-hero {
    background-image: url("../images/podacts-banner.avif");
    background-position: center;
    background-size: cover;
}


/* VIDEO SECTION */
.discover-videos-section {
    background: #fff;
}

.wealth-content-images video {
    height: 400px;
}


/* VIDEO GRID */
.discover-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 35px;
}


/* VIDEO CARD */
.discover-video-card {
    min-width: 0;
}

.discover-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e9e9e9;
    height: 500px;
}

.discover-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* PLACEHOLDER FOR VIDEOS WITHOUT AN EMBED ID */
.discover-video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    background: #ededed;
}

.discover-placeholder-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75%;
}

.discover-wave {
    font-size: 90px;
    color: #008db8;
    line-height: 1;
}

.discover-placeholder-title {
    font-family: "ff-din-paneuropean-cond", sans-serif;
    font-size: clamp(20px, 3vw, 42px);
    line-height: 1.25;
    color: #002d46;
    text-align: right;
}

.discover-placeholder-logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.discover-placeholder-logo img {
    width: 190px;
    max-width: 60%;
    height: auto;
    object-fit: contain;
}


/* EPISODE CAPTION */
.discover-video-caption {
    text-align: center;
    margin: 7px 0 0;
    font-size: 22px;
    font-weight: 600;
    color: #002b49;
}


/* RESPONSIVE */
@media (max-width: 768px) {

    .discover-videos-grid {
        column-gap: 18px;
        row-gap: 25px;
    }

    .discover-video-placeholder {
        padding: 12px;
    }

    .discover-wave {
        font-size: 55px;
    }

    .discover-placeholder-logo img {
        width: 130px;
    }

}

@media (max-width: 520px) {

    .discover-videos-grid {
        grid-template-columns: 1fr;
        row-gap: 25px;
    }

    .discover-video-placeholder {
        padding: 18px;
    }

    .discover-wave {
        font-size: 75px;
    }

    .discover-placeholder-title {
        font-size: 32px;
    }

}


/* =========================================
   CONTACT PAGE
========================================= */

/* HERO */
.contact-hero {
    background-image: url("../images/contact/contact-hero.jpg");
    background-position: center;
    background-size: cover;
}


/* CONTACT LAYOUT */
.contact-content {
    background: #f5f5f5;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: start;
}


/* LEFT CONTACT INFORMATION */
.contact-information .section-heading {
    margin: 0 0 12px;
}

.contact-subheading {
    margin: 0 0 22px;
}

.contact-description {
    margin: 0 0 25px;
}

.contact-detail-group {
    margin-bottom: 24px;
}

.contact-detail-group h3 {
    font-family: 'ff-din-paneuropean' !important;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    color: #00aeca;
    margin: 0 0 4px;
}

.contact-detail-group .section-paragraph {
    margin: 0;
}

.contact-detail-group a {
    color: #33556d;
    text-decoration: none;
    font-weight: 700 !important;
}

.contact-detail-group a:hover {
    color: #00aeca;
    text-decoration: underline;
}

.contact-hours-list {
    padding-left: 20px;
    margin: 3px 0 0;
    color: #33556d;
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}


/* CONTACT IMAGE */
.contact-feature-image {
    width: 100%;
    margin-top: 35px;
}

.contact-feature-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.25 / 1;
    object-fit: cover;
}


/* GOOGLE MAP */

.contact-map-section {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.contact-map-section iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .contact-map-section {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .contact-map-section {
        height: 320px;
    }
}
/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1024px) {

    .contact-layout {
        gap: 35px;
    }

}

@media (max-width: 768px) {

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-form-column {
        padding-top: 0;
    }

    .contact-feature-image {
        max-width: 550px;
    }

    .contact-map-section {
        height: 400px;
    }

}

@media (max-width: 480px) {

    .contact-map-section {
        height: 320px;
    }

}

.contact-hero{
    background-image: url(../images/contact-banner.avif);
}


/* =========================================
   BUSINESS FINANCIAL PAGE
========================================= */

/* HERO */
.business-financial-hero {
    background-image: url("../images/business-financial-img-2.avif");
    background-position: center;
    background-size: cover;
}


/* SERVICE SECTIONS */
.business-service-section {
    padding-top: 45px;
    padding-bottom: 45px;
}

.business-service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center !important;
}

.business-service-copy > .section-heading {
    margin: 0 0 15px;
}

.business-service-copy > .section-paragraph {
    margin: 0 0 15px;
}

.business-service-list {
    padding-left: 22px;
    margin: 12px 0 20px;
    color: #33556d;
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.business-service-list li {
    padding-left: 2px;
    margin-bottom: 3px;
}

.margin {
    margin-top: 100px;
    margin-bottom: 80px;
}

.business-service-images video {
    height: 400px;
}

h3.business-subheading {
    font-family: 'ff-din-paneuropean' !important;
    margin-bottom: 20px;
    font-size: 20px;
}

/* SERVICE IMAGES */
.business-service-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.business-service-images img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}


/* PLAN ADMINISTRATION */


/* CTA BANNERS */
.business-cta-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

.business-cta-retirement {
    background-image: url("../images/business-financial-img-2.avif");
}

.business-cta-benefits {
    background-image: url("../images/business-financial-banner-4.avif");
}

.business-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 35, 55, 0.62);
}

.business-cta-content {
    position: relative;
    z-index: 1;
    max-width: 80%;
}

.business-cta-content .section-heading {
    color: #fff;
    margin: 0 0 8px;
}

.business-cta-content .section-paragraph {
    color: #fff;
    margin: 25px 0;
    font-size: 22px;
}

.business-cta-content .btn {
    margin-top: 5px;
}


/* WELLNESS SECTION */
.business-wellness-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.business-wellness-section > .section-container > .section-heading {
    margin: 0 0 15px;
}

.business-wellness-section > .section-container > .section-paragraph {
    margin: 0 0 15px;
}


/* WELLCENT */
.business-wellcent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 45px;
}

.business-wellcent-copy .section-heading {
    margin: 0 0 12px;
}

.business-wellcent-copy .section-paragraph {
    margin: 0 0 15px;
}



/* =========================================
   BUSINESS TEAM
========================================= */

.business-team-intro {
    margin: 0 auto 35px;
    text-align: center;
}

.business-team-intro .section-heading {
    margin: 0 0 12px;
}

.business-team-intro .section-paragraph {
    margin: 0 0 18px;
}


/* CENTER LAST TEAM CARD WHEN GRID HAS 13 MEMBERS */


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .business-service-layout,
    .business-wellcent {
        gap: 25px;
    }

    .business-service-images img {
        height: 190px;
    }

}

@media (max-width: 768px) {

    .business-service-layout,
    .business-wellcent {
        grid-template-columns: 1fr;
    }

    .business-service-images {
        max-width: 550px;
    }

    .business-service-images img {
        height: auto;
        aspect-ratio: 1.5 / 1;
    }

}

@media (max-width: 480px) {

    .business-cta-banner {
        min-height: 180px;
    }

}

.business-financial-hero{
    background-image: url(../images/business-financial-banner.avif);
}

/* ======================================
   BUSINESS FINANCIAL NAVIGATION
====================================== */

.page-navigation-main {
    width: 100%;
    background: #fff;
    position: sticky;
    top: 7.25em;
    z-index: 99;
}

/* Navigation Content */

.business-financial-nav-content {
    width: 100%;
    padding: 5px 20px 5px;
    border: 1px solid #bcbcbc;
    text-align: center;
}

.business-financial-nav-content .section-heading {
    margin: 0 0 7px;
}

/* Navigation Links */

.nav-heading {
    font-size: 20px !important;
}

.business-financial-nav-links {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
}

.insurance-services-links a {
    width: 205px;
}

.insurance-services-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mt-10 {
    margin-top: 10px !important;
}

.tax-accounting-nav-links {
    grid-template-columns: repeat(4, 1fr) !important;
}

.page-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0px;
    background: #50bfd5;
    border: 1px solid #009dbb;
    border-radius: 5px;
    color: #00334d;
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.page-nav-link:hover,
.page-nav-link.active {
    background: #00334d;
    border-color: #00334d;
    color: #fff;
}

/* Responsive */

@media (max-width: 767px) {

    .business-financial-nav-content {
        padding: 15px;
    }

    .business-financial-nav-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-nav-link:last-child {
        grid-column: 1 / -1;
    }

}

@media (max-width: 480px) {

    .business-financial-nav-links {
        grid-template-columns: 1fr;
    }

    .page-nav-link:last-child {
        grid-column: auto;
    }

}

/* ======================================
   BUSINESS FINANCIAL - ANCHOR SCROLL FIX
====================================== */

/* Smooth anchor scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 115px;
}

/* Offset for all Business Financial sections */
[id="401k"],
[id="plan-admin"],
[id="group-health"],
[id="employee-wellness"],
[id="meet-the-team"] {
    scroll-margin-top: 115px;
}


/* ======================================
   PRIVATE WEALTH PAGE
====================================== */

.private-wealth-hero {
    background-image: url("../images/private-wealth/private-wealth-banner.jpg");
    background-position: center;
    background-size: cover;
}

/* STICKY NAVIGATION */

/* ANCHOR OFFSET */

.private-wealth-page [id] {
    scroll-margin-top: 140px;
}

/* CONTENT LAYOUT */

.private-wealth-section {
    background: #fff;
}

.wealth-content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.wealth-content-copy {
    min-width: 0;
}

.wealth-content-copy .section-heading {
    margin-bottom: 18px;
}

.wealth-content-copy .section-paragraph {
    margin-bottom: 18px;
}

.wealth-content-images {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.wealth-content-images img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    border-radius: 5px;
}

.wealth-subheading {
    font-family: 'ff-din-paneuropean' !important;
    font-size: 25px;
    font-weight: 500 !important;
    color: #00a9ce;
}

.wealth-service-list {
    padding-left: 22px;
    margin: 15px 0 25px;
}


/* CTA BANNERS */

.wealth-cta-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    background-image: url("../images/peronsal-financial-banner-2.avif");
    background-position: center;
    background-size: cover;
    text-align: center;
}

.cta-financial{
    background-image: url(../images/peronsal-financial-banner-3.avif);
}

.margin-top {
    margin-top: 100px;
}

.wealth-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 38, 58, .72);
}

.wealth-cta-content {
    position: relative;
    z-index: 1;
    width: 80%;
}

.wealth-cta-content .section-heading,
.wealth-cta-content .section-paragraph {
    color: #fff;
}

.wealth-cta-content .section-paragraph {
    margin-bottom: 20px;
}

/* TEAM INTRO */

.private-wealth-team-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 45px;
}

.private-wealth-team-intro .section-paragraph {
    margin-bottom: 22px;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .wealth-content-row {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

}

@media (max-width: 767px) {

    .wealth-content-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .wealth-content-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .wealth-content-images img {
        height: 180px;
    }

    .private-wealth-page [id] {
        scroll-margin-top: 190px;
    }

}

@media (max-width: 480px) {

    .wealth-content-images {
        grid-template-columns: 1fr;
    }

    .wealth-content-images img {
        height: auto;
    }

}

.private-wealth-hero{
    background-image: url(../images/peronsal-financial.avif);
}

/* PRIVATE WEALTH NAVIGATION BUTTON ARRANGEMENT */

.private-wealth-page .business-financial-nav-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px 35px;
    align-items: center;
}

/* Investments - first row, centered */
.private-wealth-page .page-nav-link:nth-child(1) {
    grid-column: 3 / 5;
    grid-row: 1;
}

/* Six middle buttons - second row */
.private-wealth-page .page-nav-link:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.private-wealth-page .page-nav-link:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.private-wealth-page .page-nav-link:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.private-wealth-page .page-nav-link:nth-child(5) {
    grid-column: 4;
    grid-row: 2;
}

.private-wealth-page .page-nav-link:nth-child(6) {
    grid-column: 5;
    grid-row: 2;
}

.private-wealth-page .page-nav-link:nth-child(7) {
    grid-column: 6;
    grid-row: 2;
}

/* Meet the Team - third row, centered */
.private-wealth-page .page-nav-link:nth-child(8) {
    grid-column: 3 / 5;
    grid-row: 3;
}

/* Responsive */
@media (max-width: 767px) {
    .private-wealth-page .business-financial-nav-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .private-wealth-page .page-nav-link:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .private-wealth-page .page-nav-link:first-child,
    .private-wealth-page .page-nav-link:last-child {
        grid-column: 1 / -1;
    }
}

.business-subheading-blue {
    font-family: 'ff-din-paneuropean' !important;
    margin-bottom: 20px;
    font-size: 25px !important;
    color: #00a9ce;
}


/* =========================================
   BUSINESS INSURANCE PAGE
========================================= */

/* HERO BACKGROUND */

.business-insurance-hero {
    background-image: url("../images/business-insurance-banner.avif");
    background-size: cover;
    background-position: center;
}


/* =========================================
   BUSINESS INSURANCE CONTENT LAYOUT
========================================= */

.business-insurance-section {
    background: #fff;
}

.business-service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 45px;
    margin-bottom: 55px;
}

.business-service-layout:last-child {
    margin-bottom: 0;
}

.business-service-copy {
    min-width: 0;
}

.business-service-copy .section-paragraph {
    margin-bottom: 16px;
}

.business-service-images {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.business-service-images img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: 5px;
}


/* =========================================
   VIDEO CONTAINER
========================================= */

.business-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    border-radius: 4px;
}

.business-video iframe,
.business-video video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}


/* =========================================
   SUBHEADINGS
========================================= */

.business-subheading {
    margin: 25px 0 15px;
    font-family: "ff-din-paneuropean-cond", sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    color: #00a9c5;
}


/* ======================================
   BUSINESS TESTIMONIAL CAROUSEL
====================================== */

.business-testimonial-section {
    width: 100%;
    padding: 40px 0 45px;
    background: #fff;
}

.business-testimonial-carousel {
    width: 96%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
}

.testimonial-slider {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    width: 100%;
    padding: 32px 30px;
    background: #00a9c5;
    border-radius: 15px;
    color: #fff;
    animation: testimonialFade .4s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide blockquote {
    margin: 0 0 28px;
    color: #fff;
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 19px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.55;
}

.testimonial-author {
    margin: 0;
    color: #fff;
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.testimonial-arrow {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px;
    background: #00a9c5;
    color: #fff;
    font-size: 27px;
    cursor: pointer;
    transition: background .25s ease;
}

.testimonial-arrow:hover {
    background: #008ca8;
}

.testimonial-disclaimer {
    width: 90%;
    max-width: 1700px;
    margin: 48px auto 0;
    color: #111;
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

@keyframes testimonialFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* RESPONSIVE */

@media (max-width: 767px) {

    .business-testimonial-section {
        padding: 30px 0;
    }

    .business-testimonial-carousel {
        width: 94%;
        gap: 10px;
    }

    .testimonial-arrow {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
        font-size: 19px;
    }

    .testimonial-slide {
        padding: 22px 18px;
        border-radius: 8px;
    }

    .testimonial-slide blockquote {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .testimonial-author {
        font-size: 17px;
    }

    .testimonial-disclaimer {
        width: 90%;
        margin-top: 25px;
        font-size: 12px;
        text-align: left;
    }

}


.testimonial-slider {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
    display: none;
}

.testimonial-slide {
    display: block;
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
}


/* =========================================
   BUSINESS INSURANCE CTA BANNERS
========================================= */

.business-insurance-cta {
    background-image: url("../images/business insurance-banner-2.avif");
}

.business-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 35, 52, 0.68);
}

.business-cta-content {
    position: relative;
    z-index: 1;
    width: 85%;
    max-width: 1100px;
}

.business-cta-content .section-heading,
.business-cta-content .section-paragraph {
    color: #fff;
}

.business-cta-content .section-heading {
    margin-bottom: 12px;
}

.business-cta-content .section-paragraph {
    margin-bottom: 20px;
}


/* =========================================
   TEAM SECTION
========================================= */

.business-team-intro {
    text-align: center;
    margin-bottom: 40px;
}

.business-team-intro .section-paragraph {
    max-width: 850px;
    margin: 15px auto 20px;
}

.business-team-intro .btn {
    margin: 0 auto;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .business-service-layout {
        gap: 30px;
    }

    .business-service-images img {
        max-height: 320px;
    }

}

@media (max-width: 767px) {

    .business-service-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }

    .business-service-images {
        width: 100%;
    }

    .business-service-images img {
        max-height: 320px;
    }

    .business-subheading {
        margin-top: 20px;
    }

    .business-cta-content {
        width: 100%;
    }

    .business-team-intro {
        margin-bottom: 30px;
    }

}

.business-overpaying-cta{
    background-image: url(../images/peronsal-financial-banner-3.avif);
}
.commitment-cta{
    background-image: url(../images/business\ insurance-banner-3.avif);
}
.premium-cta{
    background-image: url(../images/business-insurance-banner-4.avif);
}
.renting-cta{
    background-image: url(../images/business-insurance-banner.avif);
}

.page-navigation-main .business-financial-nav-links .page-nav-link.active {
    background-color: #003047 !important;
    color: #ffffff !important;
    border-color: #003047 !important;
}

.business-financial-page section[id="business-insurance-overview"],
.business-financial-page section[id="commercial-property"],
.business-financial-page section[id="general-liability"],
.business-financial-page section[id="workers-compensation"],
.business-financial-page section[id="commercial-auto"],
.business-financial-page section[id="cyber-liability"],
.business-financial-page section[id="professional-liability"],
.business-financial-page section[id="umbrella-liability"],
.business-financial-page section[id="directors-officers"],
.business-financial-page section[id="surety-bonds"],
.business-financial-page section[id="group-health-insurance"],
.business-financial-page section[id="premium-reduction"],
.business-financial-page section[id="captive-insurance"],
.business-financial-page section[id="risk-management"],
.business-financial-page section[id="insurance-team"] {
    scroll-margin-top: 20px;
}

/* Personal Insurance page styles
   Global .section-heading, .section-paragraph, .content-section,
   .section-container, .btn and .people-* styles remain in style.css.
*/

.personal-insurance-hero {
    background-image: url("../images/personal-insurance-banner.avif");
    background-position: center;
    background-size: cover;
}

.personal-insurance-team {
    background: #f6f6f6;
    text-align: center;
}

.personal-insurance-team .people-grid {
    margin-top: 40px;
}

#personal-insurance-protection-cta{
    background-image: url(../images/business-financial-banner-4.avif);
}
#watercraft-cta{
    background-image: url(../images/personal-insurance-banner-2.avif);
}
#flood-insurance-cta{
    background-image: url(../images/personal-insurance-banner-3.avif);
}
#valuable-articles-cta{
    background-image: url(../images/personal-insurance-banner-4.avif);
}

/* Personal Insurance Navigation */

.personal-insurance-navigation {
    width: 100%;
    background: #fff;
}

.personal-insurance-navigation .nav-heading {
    text-align: center;
    margin: 0 0 8px;
}

.personal-insurance-navigation .personal-insurance-nav-links {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px 7px;
    align-items: center;
}
.section-subheading {
    color: #fff;
    font-size: 30px;
}

/* Center the second row */
.personal-insurance-navigation .page-nav-link:nth-child(7) {
    grid-column: 2;
}

.personal-insurance-navigation .page-nav-link:nth-child(10) {
    grid-column: 3 / 5;
}

/* Tablet */
@media (max-width: 991px) {
    .personal-insurance-navigation .personal-insurance-nav-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 15px;
    }

    .personal-insurance-navigation .page-nav-link:nth-child(7),
    .personal-insurance-navigation .page-nav-link:nth-child(10) {
        grid-column: auto;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .personal-insurance-navigation .personal-insurance-nav-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .personal-insurance-navigation .page-nav-link {
        font-size: 13px;
        padding: 8px 5px;
    }
}

#tax-accounting-hero {
    background-image: url(../images/tax-banner.jpeg);
}
#tax-preparation-cta {
    background-image: url(../images/tax-banner-2.avif);
}
#tax-planning-cta{
    background-image: url(../images/tax-banner-3.avif);
}

/* Blog Listing Page */

.blog-page .blog-hero {
    background-image: url("../images/business-financial-banner-4.avif");
    background-position: center;
    background-size: cover;
}

.blog-page .blog-listing-section {
    padding: 55px 0 65px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
}

.blog-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.025);
}

.blog-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.33 / 1;
    overflow: hidden;
}

.blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.blog-card-image:hover img {
    transform: scale(1.04);
}

.blog-card-content {
    padding: 17px 14px 20px;
}

.blog-card-content h2 {
    margin: 0 0 10px;
    font-family: "ff-din-paneuropean-cond", sans-serif;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
}

.blog-card-content h2 a {
    color: #002d43;
    text-decoration: none;
}

.blog-card-content h2 a:hover {
    color: #00a9c4;
}

.blog-card-content p {
    margin: 0;
    color: #333;
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 35px;
}

.blog-pagination button {
    min-width: 30px;
    height: 32px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #173e50;
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.blog-pagination button:hover,
.blog-pagination button.active {
    color: #00a9c4;
    font-weight: 700;
}

.blog-pagination button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.blog-error {
    grid-column: 1 / -1;
    text-align: center;
}

@media (max-width: 900px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (max-width: 575px) {
    .blog-page .blog-listing-section {
        padding: 35px 0 45px;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-content {
        padding: 14px;
    }
}
.legal-page-hero{
    background-image: url(../images/legal-banner.avif);
}

/* Team member profile page (/people/<name>) */
.person-page { padding: 225px 0 120px; background: #fff; }

.person-profile {
    width: 85%;
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 55px;
    align-items: start;
}

.person-name {
    font-family: "ff-din-paneuropean-cond", sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: #002D46;
    margin: 0 0 14px;
}

.person-title {
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 20px;
    color: #002D46;
    margin: 0 0 48px;
}
.person-title a { color: inherit; }

.person-bio p {
    font-family: "ff-din-paneuropean", sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: #35566D;
    margin: 0 0 56px;
    max-width: 640px;
}

.person-photo { border-radius: 9px; overflow: hidden; background: #E5E5E5; }
.person-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 900px) {
    .person-page { padding: 170px 0 80px; }
    .person-profile { width: 90%; grid-template-columns: 1fr; gap: 32px; }
    .person-photo { order: -1; }
    .person-name { font-size: 38px; }
    .person-bio p { margin-bottom: 28px; }
    .person-title { margin-bottom: 28px; }
}

/* Keppel Insurance page */

/* Hero: family photo background, Keppel logo above the heading */
.keppel-hero { background-image: url("../images/keppel-hero-bg.avif"); }

.keppel-hero-logo {
    display: block;
    width: 240px;
    max-width: 60%;
    height: auto;
    margin: 0 auto 22px;
    border-radius: 4px;
}

.keppel-hero .inner-pg-hero-content h1 { margin-bottom: 14px; }

/* About */
.keppel-about { padding-bottom: 0 !important; }
.keppel-about + .keppel-split-section { padding-top: 30px; }
.keppel-about .section-heading { margin-bottom: 22px; }
.keppel-about .section-paragraph { margin-bottom: 22px; }
.keppel-about .section-paragraph:last-child { margin-bottom: 0; }

/* Text on the left, photo on the right */
.keppel-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.keppel-block { margin-bottom: 48px; }
.keppel-block:last-child { margin-bottom: 0; }
.keppel-block .section-heading { margin-bottom: 14px; }
.keppel-block .section-paragraph { margin-bottom: 22px; }

.keppel-split-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.9 / 1;
    object-fit: cover;
    border-radius: 5px;
}

/* CTA banners */


.keppel-cta-light .btn {
    background: #fff;
    color: #002D46;
}
.keppel-cta-light .btn:hover { background: #E9F4F6; color: #002D46; }

.keppel-cta-navy {
    background-image: none;
    background-color: #00375F;
}

@media (max-width: 900px) {
    .keppel-split { grid-template-columns: 1fr; gap: 35px; }
    .keppel-cta .section-heading { font-size: 26px !important; }
}


/* =========================================
   TESTIMONIALS PAGE
========================================= */

.testimonials-page {
    width: 100%;
    overflow: hidden;
    color: #002D46;
}


/* =========================================
   HERO
========================================= */

.testimonials-hero {
    background-image: url("../images/testimonials-banner.avif");
    background-position: center;
    background-size: cover;
}


/* =========================================
   TESTIMONIAL CONTENT
========================================= */

.testimonials-content-section {
    background: #FFFFFF;
}

.testimonials-intro {
    width: 100%;
    margin-bottom: 35px;
}

.testimonials-intro .section-paragraph {
    margin-bottom: 0;
    font-size: 22px !important;
}


/* =========================================
   TESTIMONIAL GRID
========================================= */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #078BA3;
    color: #FFFFFF;
    padding: 25px;
    border-radius: 7px;
    min-width: 0;
}

.testimonial-stars {
    color: #FFD000;
    font-size: 50px;
    line-height: 1;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.testimonial-card p {
    color: #FFFFFF;
    font-size: 17px;
    line-height: 1.65;
    font-style: italic;
    margin: 0 0 22px;
    font-weight: 600;
}

.testimonial-card span {
    display: block;
    color: #FFFFFF;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
    margin-top: auto;
}


/* =========================================
   DISCLAIMER
========================================= */

.testimonials-disclaimer {
    margin-top: 65px;
}

.testimonials-disclaimer p {
    font-size: 12px;
    line-height: 1.6;
    color: #526776;
    margin: 0;
}


/* =========================================
   CLOSING CTA
========================================= */

.testimonials-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 330px;
    background-image: url("../images/testimonials-cta-bg.avif");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #FFFFFF;
}

.testimonials-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 35, 54, 0.58);
}

.testimonials-cta-content {
    position: relative;
    z-index: 1;
}

.testimonials-cta-content h2 {
    color: #FFFFFF;
    font-size: clamp(28px, 3vw, 42px);
    margin-bottom: 15px;
}

.testimonials-cta-content p {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .testimonials-grid {
        gap: 16px;
    }

    .testimonial-card {
        padding: 22px;
    }

    .testimonial-stars {
        font-size: 26px;
    }

    .testimonial-card p {
        font-size: 14px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .testimonials-intro {
        margin-bottom: 25px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonial-card {
        padding: 22px;
    }

    .testimonial-stars {
        font-size: 25px;
        margin-bottom: 14px;
    }

    .testimonial-card p {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 18px;
    }

    .testimonial-card span {
        font-size: 12px;
    }

    .testimonials-disclaimer {
        margin-top: 35px;
    }

    .testimonials-disclaimer p {
        font-size: 11px;
    }

    .testimonials-cta {
        min-height: 260px;
        padding: 55px 0;
    }

    .testimonials-cta-content h2 {
        font-size: 28px;
    }

    .testimonials-cta-content p {
        font-size: 14px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-stars {
        font-size: 23px;
    }

    .testimonials-cta-content h2 {
        font-size: 25px;
    }

}


/* =========================================
   CREDENTIALS PAGE
========================================= */

.credentials-page {
    width: 100%;
    overflow: hidden;
    color: #002D46;
}


/* =========================================
   HERO
========================================= */

.credentials-hero {
    background-image: url("../images/credentials-banner.avif");
    background-position: center;
    background-size: cover;
}

.credentials-hero .inner-pg-hero-content {
    max-width: 1100px;
}

.credentials-hero .inner-pg-hero-content h1 {
    margin-bottom: 25px;
}

.credentials-hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.credentials-hero .btn svg {
    width: 18px;
    height: 18px;
}


/* =========================================
   CREDENTIALS CONTENT
========================================= */

.credentials-content-section {
    background: #FFFFFF;
}

.credentials-content {
    width: 100%;
    max-width: 100%;
}

.credentials-content .section-heading {
    margin-bottom: 22px;
}

.credentials-content .section-paragraph {
    margin-bottom: 18px;
}

.credentials-list {
    padding-left: 22px;
    margin: 18px 0 22px;
}

.credentials-list li {
    color: #526776;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 2px;
}

.credentials-list li:last-child {
    margin-bottom: 0;
}

.credentials-content .credentials-closing-paragraph {
    margin-bottom: 0;
    margin-top: 22px;
}


/* =========================================
   CLOSING CTA
========================================= */

.credentials-cta {
    background: #002D46;
    color: #FFFFFF;
    text-align: center;
    padding: 75px 0;
}

.credentials-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.credentials-cta-content h2 {
    color: #FFFFFF;
    font-size: clamp(27px, 3vw, 38px);
    margin-bottom: 15px;
}

.credentials-cta-content p {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.credentials-cta-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.credentials-cta-content .btn svg {
    width: 18px;
    height: 18px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .credentials-content .section-heading {
        margin-bottom: 18px;
    }

    .credentials-list li {
        font-size: 15px;
    }

    .credentials-cta {
        padding: 65px 0;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .credentials-hero {
        background-position: center;
    }

    .credentials-hero .inner-pg-hero-content h1 {
        margin-bottom: 20px;
    }

    .credentials-content .section-heading {
        margin-bottom: 18px;
    }

    .credentials-content .section-paragraph {
        margin-bottom: 16px;
    }

    .credentials-list {
        padding-left: 20px;
        margin: 15px 0 20px;
    }

    .credentials-list li {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 4px;
    }

    .credentials-content .credentials-closing-paragraph {
        margin-top: 18px;
    }

    .credentials-cta {
        padding: 55px 0;
    }

    .credentials-cta-content h2 {
        font-size: 27px;
        margin-bottom: 12px;
    }

    .credentials-cta-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .credentials-list {
        padding-left: 18px;
    }

    .credentials-list li {
        font-size: 13px;
    }

    .credentials-cta-content h2 {
        font-size: 24px;
    }

}

.mt-100{
    margin-top: 100px;
}
.mt-200{
    margin-top: 200px;
}
.align-items-center{
    align-items: center;
}