/* =========================================================
   BRUDER KLAUS SCHOOL
   PREMIUM FOUNDER SECTION
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --bks-founder-navy: #0D0B61;
    --bks-founder-gold: #F4CE14;
    --bks-founder-white: #FFFFFF;

    --bks-founder-blue: #1768B5;

    --bks-founder-text: #26385F;
    --bks-founder-muted: #596985;

    --bks-founder-soft: #F5F9FF;

}


/* =========================================================
   MAIN SECTION
========================================================= */

.bks-founder {

    position: relative;

    width: 100%;

    padding: 115px 0 125px;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 5% 35%,
            rgba(244, 206, 20, 0.14),
            transparent 24%
        ),

        radial-gradient(
            circle at 90% 70%,
            rgba(13, 11, 97, 0.09),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #F8FBFF 48%,
            #F1F6FF 100%
        );

    isolation: isolate;

}


/* =========================================================
   CONTAINER
========================================================= */

.bks-founder-container {

    width: min(1450px, 92%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(450px, 0.88fr);

    align-items: center;

    gap: 90px;

    position: relative;

    z-index: 3;

}


/* =========================================================
   BACKGROUND GRID
========================================================= */

.founder-grid-pattern {

    position: absolute;

    inset: 0;

    z-index: -3;

    opacity: 0.42;

    background-image:

        linear-gradient(
            rgba(13, 11, 97, 0.035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(13, 11, 97, 0.035) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 18%,
            black 82%,
            transparent
        );

}


/* =========================================================
   BACKGROUND GLOWS
========================================================= */

.founder-bg-glow {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    z-index: -2;

    filter: blur(3px);

}


.founder-glow-one {

    width: 440px;

    height: 440px;

    left: -220px;

    top: 40px;

    background:
        radial-gradient(
            circle,
            rgba(244, 206, 20, 0.15),
            transparent 70%
        );

}


.founder-glow-two {

    width: 520px;

    height: 520px;

    right: -260px;

    bottom: -250px;

    background:
        radial-gradient(
            circle,
            rgba(13, 11, 97, 0.11),
            transparent 70%
        );

}


/* =========================================================
   LEFT CONTENT
========================================================= */

.founder-content {

    max-width: 760px;

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

}


.bks-founder.is-visible .founder-content {

    opacity: 1;

    transform: translateY(0);

}


/* =========================================================
   EYEBROW
========================================================= */

.founder-eyebrow {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 22px;

    color: var(--bks-founder-navy);

    font-size: 19px;

    font-weight: 700;

    letter-spacing: 4px;

}


.founder-eyebrow-line {

    width: 38px;

    height: 4px;

    border-radius: 20px;

    background: var(--bks-founder-gold);

    box-shadow:
        0 0 12px rgba(244, 206, 20, 0.4);

}


/* =========================================================
   TITLE
========================================================= */

.founder-title {

    margin: 0;

    color: var(--bks-founder-navy);

    font-size: clamp(32px, 4.1vw, 58px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -2px;

}


.founder-title-line {

    width: 85px;

    height: 4px;

    margin-top: 25px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--bks-founder-gold),
            rgba(244, 206, 20, 0.25)
        );

}


/* =========================================================
   QUOTE CARD
========================================================= */

.founder-quote {

    position: relative;

    margin-top: 30px;

    max-width: 720px;

    padding: 25px 38px 25px 35px;

    border-left: 4px solid var(--bks-founder-gold);

    border-radius: 0 20px 20px 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.92),
            rgba(246,249,255,0.76)
        );

    box-shadow:
        0 18px 50px rgba(13,11,97,0.055);

    backdrop-filter: blur(12px);

}


.founder-quote p {

    margin: 0;

    color: var(--bks-founder-navy);

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(23px, 2vw, 31px);

    line-height: 1.45;

    font-style: italic;

}


.quote-mark {

    position: absolute;

    top: -15px;

    left: 15px;

    color: rgba(244, 206, 20, 0.35);

    font-family: Georgia, serif;

    font-size: 65px;

    line-height: 1;

}


.quote-end {

    left: auto;

    right: 18px;

    top: auto;

    bottom: -35px;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.founder-description {

    margin-top: 30px;

}


.founder-description p {

    margin: 0 0 18px;

    color: var(--bks-founder-text);

    font-size: 17px;

    line-height: 1.9;

    font-weight: 400;

}


.founder-description p:last-child {

    margin-bottom: 0;

}


/* =========================================================
   SIGNATURE STATEMENT
========================================================= */

.founder-signature {

    display: flex;

    align-items: stretch;

    gap: 17px;

    margin-top: 30px;

}


.signature-line {

    width: 5px;

    flex-shrink: 0;

    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            var(--bks-founder-gold),
            #DDB600
        );

    box-shadow:
        0 0 12px rgba(244, 206, 20, 0.3);

}


.founder-signature strong {

    display: block;

    color: var(--bks-founder-navy);

    font-size: 17px;

    line-height: 1.65;

}


/* =========================================================
   CTA BUTTON
========================================================= */

.founder-button {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    min-width: 235px;

    margin-top: 34px;

    padding: 15px 18px 15px 27px;

    overflow: hidden;

    border-radius: 60px;

    text-decoration: none;

    color: var(--bks-founder-navy);

    background:
        linear-gradient(
            135deg,
            #F4CE14,
            #FFD92F
        );

    font-size: 15px;

    font-weight: 800;

    box-shadow:
        0 14px 30px rgba(244,206,20,0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.founder-button::before {

    content: "";

    position: absolute;

    top: -80%;

    left: -100%;

    width: 55%;

    height: 260%;

    transform: rotate(25deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.75),
            transparent
        );

    transition: left 0.7s ease;

}


.founder-button:hover::before {

    left: 140%;

}


.founder-button:hover {

    transform: translateY(-4px);

    box-shadow:
        0 18px 40px rgba(244,206,20,0.38);

}


.founder-button-arrow {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 39px;

    height: 39px;

    border-radius: 50%;

    background: rgba(13,11,97,0.09);

    transition:
        transform 0.3s ease;

}


.founder-button:hover .founder-button-arrow {

    transform: translateX(4px);

}


/* =========================================================
   RIGHT IMAGE AREA
========================================================= */

.founder-visual {

    position: relative;

    min-height: 620px;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transform: translateX(40px);

    transition:
        opacity 0.9s ease 0.15s,
        transform 0.9s ease 0.15s;

}


.bks-founder.is-visible .founder-visual {

    opacity: 1;

    transform: translateX(0);

}


/* =========================================================
   BACK FRAME
========================================================= */

.founder-image-back-frame {

    position: absolute;

    width: min(88%, 550px);

    height: 78%;

    right: 3%;

    top: 12%;

    border: 1px solid rgba(13,11,97,0.14);

    border-radius: 36px;

    transform:
        rotate(4deg)
        translate(12px, 18px);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.7),
            rgba(236,242,255,0.5)
        );

}


/* =========================================================
   IMAGE CARD
========================================================= */

.founder-image-card {

    position: relative;

    width: min(88%, 535px);

    aspect-ratio: 0.82 / 1;

    overflow: hidden;

    border-radius: 34px;

    background: #FFFFFF;

    border: 10px solid rgba(255,255,255,0.95);

    box-shadow:

        0 35px 80px rgba(13,11,97,0.17),

        0 8px 25px rgba(13,11,97,0.08);

    transform: rotate(-2deg);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;

}


.founder-image-card:hover {

    transform:
        rotate(0deg)
        translateY(-8px);

    box-shadow:

        0 45px 100px rgba(13,11,97,0.22),

        0 10px 35px rgba(13,11,97,0.1);

}


.founder-image-card img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.8s ease;

}


.founder-image-card:hover img {

    transform: scale(1.035);

}


/* =========================================================
   IMAGE SHINE
========================================================= */

.founder-image-shine {

    position: absolute;

    z-index: 5;

    top: -20%;

    left: -80%;

    width: 55%;

    height: 150%;

    transform: rotate(25deg);

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.34),
            transparent
        );

    animation:
        founderImageShine 5s ease-in-out infinite;

}


@keyframes founderImageShine {

    0%,
    65% {

        left: -90%;

    }

    100% {

        left: 150%;

    }

}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.founder-image-overlay {

    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            to top,
            rgba(13,11,97,0.88) 0%,
            rgba(13,11,97,0.25) 38%,
            transparent 65%
        );

}


/* =========================================================
   IMAGE INFORMATION
========================================================= */

.founder-image-info {

    position: absolute;

    z-index: 4;

    left: 32px;

    right: 28px;

    bottom: 27px;

    color: #FFFFFF;

}


.founder-image-badge {

    display: inline-flex;

    padding: 8px 14px;

    border-radius: 30px;

    background: var(--bks-founder-gold);

    color: var(--bks-founder-navy);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.5px;

    box-shadow:
        0 8px 20px rgba(244,206,20,0.28);

}


.founder-image-info h3 {

    margin: 13px 0 8px;

    font-size: clamp(22px, 2vw, 29px);

    line-height: 1.15;

    font-weight: 800;

}


.founder-image-divider {

    width: 45px;

    height: 3px;

    margin-bottom: 8px;

    background: var(--bks-founder-gold);

}


.founder-image-info p {

    margin: 0;

    font-size: 13px;

    letter-spacing: 1px;

    color: rgba(255,255,255,0.86);

}


.founder-image-info p span {

    color: var(--bks-founder-gold);

    padding: 0 5px;

}


/* =========================================================
   GOLD CORNER
========================================================= */

.founder-gold-corner {

    position: absolute;

    z-index: 6;

    width: 95px;

    height: 95px;

    top: 7%;

    right: 4%;

    border-radius: 0 32px 0 70px;

    background:
        linear-gradient(
            135deg,
            #F4CE14,
            rgba(244,206,20,0.45)
        );

    opacity: 0.88;

    pointer-events: none;

}


/* =========================================================
   FLOATING SPARK
========================================================= */

.founder-spark {

    position: absolute;

    z-index: 8;

    left: 2%;

    top: 28%;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 64px;

    height: 64px;

    border-radius: 50%;

    color: var(--bks-founder-navy);

    background: var(--bks-founder-gold);

    box-shadow:
        0 12px 30px rgba(244,206,20,0.32);

    animation:
        founderFloat 4s ease-in-out infinite;

}


.founder-spark i {

    font-size: 17px;

}


@keyframes founderFloat {

    0%,
    100% {

        transform: translateY(0)
                   rotate(0deg);

    }

    50% {

        transform: translateY(-9px)
                   rotate(8deg);

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .bks-founder {

        padding: 90px 0 100px;

    }


    .bks-founder-container {

        grid-template-columns:
            1fr 0.82fr;

        gap: 50px;

    }


    .founder-title {

        font-size: 48px;

    }


    .founder-description p {

        font-size: 16px;

        line-height: 1.8;

    }


    .founder-visual {

        min-height: 560px;

    }


    .founder-image-card {

        width: 92%;

    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 850px) {

    .bks-founder {

        padding: 75px 0 85px;

    }


    .bks-founder-container {

        grid-template-columns: 1fr;

        gap: 65px;

    }


    .founder-content {

        max-width: 100%;

    }


    .founder-title {

        font-size: clamp(39px, 8vw, 55px);

    }


    .founder-quote {

        max-width: 100%;

    }


    .founder-description p {

        font-size: 16px;

    }


    .founder-visual {

        min-height: 560px;

    }


    .founder-image-card {

        width: min(82%, 480px);

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 550px) {

    .bks-founder {

        padding: 60px 0 70px;

    }


    .bks-founder-container {

        width: min(92%, 100%);

        gap: 45px;

    }


    .founder-eyebrow {

        font-size: 14px;

        letter-spacing: 2.5px;

        gap: 10px;

    }


    .founder-eyebrow-line {

        width: 28px;

        height: 3px;

    }


    .founder-title {

        font-size: 36px;

        letter-spacing: -1.2px;

    }


    .founder-title-line {

        width: 65px;

        margin-top: 18px;

    }


    .founder-quote {

        margin-top: 25px;

        padding: 22px 25px;

    }


    .founder-quote p {

        font-size: 20px;

        line-height: 1.45;

    }


    .founder-description {

        margin-top: 27px;

    }


    .founder-description p {

        font-size: 15px;

        line-height: 1.75;

        margin-bottom: 16px;

    }


    .founder-signature {

        margin-top: 25px;

    }


    .founder-signature strong {

        font-size: 15px;

    }


    .founder-button {

        width: 100%;

        min-width: 0;

        margin-top: 30px;

    }


    .founder-visual {

        min-height: 470px;

    }


    .founder-image-card {

        width: 88%;

        border-width: 7px;

        border-radius: 26px;

    }


    .founder-image-back-frame {

        width: 88%;

        border-radius: 27px;

    }


    .founder-gold-corner {

        width: 65px;

        height: 65px;

        border-radius: 0 23px 0 50px;

    }


    .founder-spark {

        width: 50px;

        height: 50px;

        left: 0;

    }


    .founder-image-info {

        left: 22px;

        right: 18px;

        bottom: 20px;

    }


    .founder-image-badge {

        padding: 6px 10px;

        font-size: 8px;

    }


    .founder-image-info h3 {

        font-size: 20px;

    }


    .founder-image-info p {

        font-size: 10px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .founder-image-shine,
    .founder-spark {

        animation: none;

    }


    .founder-content,
    .founder-visual {

        opacity: 1;

        transform: none;

        transition: none;

    }

}