/* =========================================================
   ABOUT HERO
   ========================================================= */

.kb7-about-hero {
    position: relative;

    min-height: 438px;

    background: #061b33;

    overflow: hidden;

    display: flex;
    align-items: center;
}


/* Keep hero aligned with Bootstrap container */
.kb7-about-hero .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   ABOUT CONTENT
   ========================================================= */

.kb7-about-content {
    padding-top: 5px;
    padding-bottom: 20px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.kb7-eyebrow {
    margin-bottom: 20px;

    color: #d39b3f;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}


/* =========================================================
   HEADING
   ========================================================= */

.kb7-about-content h1 {
    margin: 0;

    max-width: 720px;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 4.2vw, 68px);

    font-weight: 400;

    line-height: 1.04;

    letter-spacing: -2.5px;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.kb7-about-content p {
    margin-top: 48px;
    margin-bottom: 0;

    max-width: 570px;

    color: #d7dee7;

    font-size: 15px;

    line-height: 1.65;
}


/* =========================================================
   DIAGONAL LINE
   ========================================================= */

.kb7-diagonal-line {
    position: absolute;

    top: -260px;
    right: 9%;

    width: 1px;
    height: 850px;

    background: rgba(255, 255, 255, 0.13);

    transform: rotate(-45deg);

    z-index: 1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .kb7-about-content h1 {
        font-size: 55px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .kb7-about-hero {
        min-height: 520px;
    }

    .kb7-about-content {
        padding-top: 10px;
    }

    .kb7-about-content h1 {
        font-size: 44px;

        line-height: 1.05;

        letter-spacing: -1.5px;
    }

    .kb7-about-content p {
        margin-top: 35px;

        font-size: 14px;
    }

    .kb7-diagonal-line {
        right: -20%;
    }

}



/* =========================================================
   KB7 STORY SECTION
   ========================================================= */

.kb7-story-section {
    background: #ffffff;

    padding-top: 87px;
    padding-bottom: 82px;
}


/* =========================================================
   BOOTSTRAP ROW ALIGNMENT
   ========================================================= */

.kb7-story-section .row {
    --bs-gutter-x: 70px;
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

.kb7-story-content {
    padding-top: 1px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.kb7-story-eyebrow {
    margin-bottom: 17px;

    color: #c9933b;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   HEADING
   ========================================================= */

.kb7-story-content h2 {
    margin: 0;

    color: #0a1c34;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 50px;

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -2px;
}


/* =========================================================
   INTRO TEXT
   ========================================================= */

.kb7-story-intro {
    max-width: 470px;

    margin-top: 50px;
    margin-bottom: 0;

    color: #061b33;

    font-size: 25px;

    font-weight: 400;

    line-height: 1.5;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.kb7-story-description {
    max-width: 480px;

    margin-top: 27px;
    margin-bottom: 0;

    color: #63748a;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   COMPANY INFORMATION CARD
   ========================================================= */

.kb7-company-card {
    min-height: 434px;

    background: #061b33;

    padding: 43px 33px 35px;
}


/* =========================================================
   COMPANY ITEM
   ========================================================= */

.kb7-company-item {
    padding-bottom: 20px;
    margin-bottom: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}


/* Remove border from final item */

.kb7-company-item:last-child {
    border-bottom: none;

    margin-bottom: 0;
}


/* =========================================================
   LABEL
   ========================================================= */

.kb7-company-label {
    display: block;

    margin-bottom: 7px;

    color: #d09a42;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


/* =========================================================
   VALUE
   ========================================================= */

.kb7-company-value {
    display: block;

    color: #ffffff;

    font-size: 13px;

    line-height: 1.4;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .kb7-story-section .row {
        --bs-gutter-x: 70px;
    }

    .kb7-story-content h2 {
        font-size: 51px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .kb7-story-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .kb7-story-content {
        margin-bottom: 50px;
    }

    .kb7-story-content h2 {
        font-size: 46px;
    }

    .kb7-story-intro {
        margin-top: 35px;

        font-size: 22px;
    }

    .kb7-company-card {
        min-height: auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .kb7-story-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .kb7-story-section .row {
        --bs-gutter-x: 24px;
    }

    .kb7-story-content h2 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .kb7-story-intro {
        margin-top: 30px;

        font-size: 20px;

        line-height: 1.5;
    }

    .kb7-story-description {
        margin-top: 22px;

        font-size: 13px;
    }

    .kb7-company-card {
        margin-top: 45px;

        padding: 35px 25px;
    }

}


/* =========================================================
   KB7 DIRECTION SECTION
   ========================================================= */

.kb7-direction-section {
    background: #f7f5f0;

    padding-top: 87px;
    padding-bottom: 105px;
}


/* =========================================================
   HEADER
   ========================================================= */

.kb7-direction-header {
    margin-bottom: 42px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.kb7-direction-eyebrow {
    margin-bottom: 17px;

    color: #c9933b;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   MAIN HEADING
   ========================================================= */

.kb7-direction-header h2 {
    margin: 0;

    color: #0a1c34;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 52px;

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -2px;
}


/* =========================================================
   GRID
   ========================================================= */

.kb7-direction-grid {
    --bs-gutter-x: 32px;
}


/* =========================================================
   INDIVIDUAL ITEM
   ========================================================= */

.kb7-direction-item {
    border-top: 1px solid #d5d5d2;

    padding-top: 24px;

    min-height: 150px;
}


/* =========================================================
   ITEM TITLE
   ========================================================= */

.kb7-direction-item h3 {
    margin: 0 0 17px;

    color: #d6aa5c;

    font-family: Arial, sans-serif;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.3;
}


/* =========================================================
   ITEM DESCRIPTION
   ========================================================= */

.kb7-direction-item p {
    max-width: 290px;

    margin: 0;

    color: #061b33;

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   IMPORTANT:
   Screenshot has very light text.
   Use this if you want the exact faded appearance.
   ========================================================= */

.kb7-direction-item p {
    color: #061b33;
    opacity: 0.92;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .kb7-direction-header h2 {
        font-size: 53px;
    }

    .kb7-direction-grid {
        --bs-gutter-x: 32px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .kb7-direction-section {
        padding-top: 65px;
        padding-bottom: 70px;
    }

    .kb7-direction-header h2 {
        font-size: 45px;
    }

    .kb7-direction-item {
        margin-bottom: 35px;
    }

    .kb7-direction-item p {
        max-width: 450px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .kb7-direction-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .kb7-direction-header {
        margin-bottom: 35px;
    }

    .kb7-direction-header h2 {
        font-size: 39px;

        letter-spacing: -1.5px;
    }

    .kb7-direction-item {
        padding-top: 20px;

        margin-bottom: 30px;
    }

    .kb7-direction-item p {
        max-width: 100%;

        font-size: 13px;
    }

}

/* ==========================================
   CTA SECTION
========================================== */

.kb7-cta-section {

    width: 100%;

    background: #ffffff;

    padding-top: 70px;

    padding-bottom: 70px;

}


/* ==========================================
   CTA BOX
========================================== */

.kb7-cta-box {

    width: 100%;

    background: #071b31;

    padding: 54px 52px;

}


/* ==========================================
   CTA TITLE
========================================== */

.kb7-cta-title {

    margin: 0;

    color: #ffffff;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 50px;

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -2px;
}


/* ==========================================
   BUTTON AREA
========================================== */

.kb7-cta-action {

    display: flex;

    justify-content: flex-end;

    align-items: center;

}


/* ==========================================
   CTA BUTTON
========================================== */

.kb7-cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding: 0 22px;

    background: #c9a052;

    border: 1px solid #c9a052;

    color: #071b31;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.kb7-cta-button:hover {

    background: #ffffff;

    border-color: #ffffff;

    color: #071b31;

}


/* ==========================================
   LARGE DESKTOP
========================================== */

@media (min-width: 1200px) {

    .kb7-cta-section {

        padding-top: 75px;

        padding-bottom: 75px;
    }


    .kb7-cta-box {

        padding: 55px 52px;
    }


    .kb7-cta-title {

        font-size: 50px;
    }

}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991.98px) {

    .kb7-cta-section {

        padding-top: 60px;

        padding-bottom: 60px;
    }


    .kb7-cta-box {

        padding: 45px 40px;
    }


    .kb7-cta-title {

        font-size: 42px;
    }


    .kb7-cta-action {

        justify-content: flex-start;

        margin-top: 30px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767.98px) {

    .kb7-cta-section {

        padding-top: 45px;

        padding-bottom: 45px;
    }


    .kb7-cta-box {

        padding: 38px 28px;
    }


    .kb7-cta-title {

        font-size: 36px;

        line-height: 1.05;

        letter-spacing: -1.2px;
    }


    .kb7-cta-action {

        margin-top: 28px;
    }


    .kb7-cta-button {

        min-height: 44px;

        padding-left: 20px;

        padding-right: 20px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .kb7-cta-box {

        padding: 32px 22px;
    }


    .kb7-cta-title {

        font-size: 32px;
    }

}

/* =========================================================
   KB7 ABOUT PAGE
   SIMPLE / ELEGANT ANIMATIONS
========================================================= */


/* =========================================================
   HERO REVEAL
========================================================= */

.kb7-reveal {
    opacity: 0;

    transform:
        translateY(24px);

    animation:
        kb7HeroReveal
        0.9s
        cubic-bezier(.2,.7,.2,1)
        forwards;
}


@keyframes kb7HeroReveal {

    from {
        opacity: 0;

        transform:
            translateY(24px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   HERO DELAYS
========================================================= */

.kb7-delay-1 {
    animation-delay:
        .15s;
}


.kb7-delay-2 {
    animation-delay:
        .30s;
}


.kb7-delay-3 {
    animation-delay:
        .50s;
}


/* =========================================================
   HERO DIAGONAL LINE
========================================================= */

.kb7-diagonal-line {

    transform:
        rotate(-45deg)
        scaleY(0);

    transform-origin:
        center;

    animation:
        kb7DiagonalReveal
        1.4s
        cubic-bezier(.2,.7,.2,1)
        .1s
        forwards;
}


@keyframes kb7DiagonalReveal {

    from {
        opacity: 0;

        transform:
            rotate(-45deg)
            scaleY(0);
    }

    to {
        opacity: 1;

        transform:
            rotate(-45deg)
            scaleY(1);
    }

}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.kb7-scroll-reveal {

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.7,.2,1);
}


.kb7-scroll-reveal.kb7-visible {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   STORY CONTENT STAGGER
========================================================= */

.kb7-story-content
.kb7-scroll-reveal:nth-child(1) {
    transition-delay:
        .05s;
}


.kb7-story-content
.kb7-scroll-reveal:nth-child(2) {
    transition-delay:
        .15s;
}


.kb7-story-content
.kb7-scroll-reveal:nth-child(3) {
    transition-delay:
        .25s;
}


.kb7-story-content
.kb7-scroll-reveal:nth-child(4) {
    transition-delay:
        .35s;
}


/* =========================================================
   COMPANY CARD
========================================================= */

.kb7-card-reveal {

    opacity: 0;

    transform:
        translateX(45px);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.2,.7,.2,1);
}


.kb7-card-reveal.kb7-visible {

    opacity: 1;

    transform:
        translateX(0);
}


/* =========================================================
   COMPANY CARD GOLD EDGE
========================================================= */

.kb7-company-card {

    position: relative;

    overflow: hidden;
}


.kb7-company-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 2px;
    height: 0;

    background:
        #d5a447;

    transition:
        height 1s cubic-bezier(.2,.7,.2,1);
}


.kb7-card-reveal.kb7-visible::before {

    height: 100%;
}


/* =========================================================
   COMPANY ITEMS
========================================================= */

.kb7-company-item {

    opacity: 0;

    transform:
        translateX(15px);

    transition:
        opacity .6s ease,
        transform .6s cubic-bezier(.2,.7,.2,1);
}


.kb7-card-reveal.kb7-visible
.kb7-company-item {

    opacity: 1;

    transform:
        translateX(0);
}


.kb7-card-reveal.kb7-visible
.kb7-company-item:nth-child(1) {
    transition-delay:
        .25s;
}


.kb7-card-reveal.kb7-visible
.kb7-company-item:nth-child(2) {
    transition-delay:
        .35s;
}


.kb7-card-reveal.kb7-visible
.kb7-company-item:nth-child(3) {
    transition-delay:
        .45s;
}


.kb7-card-reveal.kb7-visible
.kb7-company-item:nth-child(4) {
    transition-delay:
        .55s;
}


/* =========================================================
   DIRECTION HEADER
========================================================= */

.kb7-direction-header
.kb7-scroll-reveal {

    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.7,.2,1);
}


.kb7-direction-header
.kb7-scroll-reveal.kb7-visible {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   DIRECTION ITEMS
========================================================= */

.kb7-direction-reveal {

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity .75s ease,
        transform .75s cubic-bezier(.2,.7,.2,1);

    transition-delay:
        var(--kb7-delay, 0s);
}


.kb7-direction-reveal.kb7-visible {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   DIRECTION NUMBER
========================================================= */

.kb7-direction-number {

    display: block;

    margin-bottom: 17px;

    color:
        #c9933b;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;

    opacity: 0;

    transform:
        translateX(-10px);

    transition:
        opacity .5s ease .2s,
        transform .5s ease .2s;
}


.kb7-direction-reveal.kb7-visible
.kb7-direction-number {

    opacity: 1;

    transform:
        translateX(0);
}


/* =========================================================
   DIRECTION TOP BORDER ANIMATION
========================================================= */

.kb7-direction-item {

    position: relative;

    border-top:
        1px solid transparent;
}


.kb7-direction-item::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 1px;

    background:
        #d5d5d2;

    transition:
        width .8s cubic-bezier(.2,.7,.2,1);
}


.kb7-direction-reveal.kb7-visible::before {

    width: 100%;
}


/* =========================================================
   DIRECTION HOVER
========================================================= */

.kb7-direction-item {

    transition:
        transform .4s ease;
}


.kb7-direction-item:hover {

    transform:
        translateY(-4px);
}


.kb7-direction-item h3 {

    transition:
        color .3s ease;
}


.kb7-direction-item:hover h3 {

    color:
        #b17f25;
}


/* =========================================================
   CTA REVEAL
========================================================= */

.kb7-cta-reveal {

    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.2,.7,.2,1);
}


.kb7-cta-reveal.kb7-visible {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   CTA GOLD LINE
========================================================= */

.kb7-cta-box {

    position: relative;

    overflow: hidden;
}


.kb7-cta-box::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 2px;

    background:
        #d5a447;

    transition:
        width 1s cubic-bezier(.2,.7,.2,1) .3s;
}


.kb7-cta-reveal.kb7-visible::before {

    width: 100%;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.kb7-cta-button {

    position: relative;

    overflow: hidden;

    transition:
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease,
        transform .3s ease;
}


.kb7-cta-button:hover {

    transform:
        translateY(-2px);
}


/* =========================================================
   GOLD SHINE
========================================================= */

.kb7-cta-button::after {

    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left .7s ease;
}


.kb7-cta-button:hover::after {

    left: 140%;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .kb7-reveal,
    .kb7-scroll-reveal,
    .kb7-card-reveal,
    .kb7-direction-reveal,
    .kb7-cta-reveal,
    .kb7-direction-number,
    .kb7-diagonal-line {

        animation:
            none !important;

        transition:
            none !important;

        opacity:
            1 !important;

        transform:
            none !important;
    }

}


/* =========================================================
   DIRECTION CARDS
========================================================= */

.kb7-direction-grid {
    --bs-gutter-x: 32px;
}

.kb7-direction-item {
    min-height: 124px;
    margin-bottom: 0;
    padding: 17px 16px 15px;
    border: 0;
    border-top: 5px solid #d4a447;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(8, 35, 61, 0.08);
    transform: none;
}

.kb7-direction-item::before {
    display: none;
}

.kb7-direction-number {
    display: block;
    margin-bottom: 13px;
    color: #b5832d;
    font-size: 8px;
    letter-spacing: 2px;
    line-height: 1;
}

.kb7-direction-item h3 {
    margin: 0 0 8px;
    color: #08233d;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.kb7-direction-item p,
.kb7-direction-item p:last-child {
    max-width: 100%;
    margin: 0;
    color: #234c74;
    font-size: 10px;
    line-height: 1.4;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .kb7-direction-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .kb7-direction-item {
        min-height: auto;
        margin-bottom: 20px;
        padding: 17px 16px 15px;
    }
}


/* =========================================================
   CTA HERO-STYLE BACKGROUND
========================================================= */

.kb7-cta-section {
    position: relative;
    overflow: hidden;
    background: #071b31;
}

.kb7-cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(
            110deg,
            rgba(7, 27, 49, 0.82) 0%,
            rgba(18, 34, 55, 0.5) 42%,
            rgba(54, 67, 91, 0.34) 100%
        ),
        radial-gradient(
            ellipse at 74% 45%,
            rgba(174, 187, 207, 0.56) 0%,
            rgba(28, 45, 68, 0) 58%
        ),
        linear-gradient(
            108deg,
            rgba(30, 44, 65, 0.52) 0 25%,
            rgba(173, 181, 195, 0.32) 25.3% 41%,
            rgba(12, 30, 51, 0.2) 41.3% 100%
        );
    pointer-events: none;
}

.kb7-cta-section::after {
    content: "7";
    position: absolute;
    top: 50%;
    right: 7%;
    z-index: 1;
    color: rgba(255, 255, 255, 0.055);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(180px, 28vw, 520px);
    font-weight: 400;
    line-height: 0.8;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
}

.kb7-cta-box {
    position: relative;
    z-index: 2;
}

.kb7-cta-box::before {
    display: none;
}



