.founder-section h2:before {
    top: -30px;
    left: -30px;
}

.section-with-image {
    padding-block: 120px;
    position: relative;
}

.section-with-image .row {
    align-items: center;
}

.section-image {
    padding-left: 50px;
}

/* Founder Section */

.founder-section {
    padding: 200px 0 100px;
    background: radial-gradient(circle at 73% 116%, rgba(47, 71, 114, 0.58) 0%, rgba(26, 37, 58, 0.58) 100%), rgba(26, 37, 58, 1);

    color: #ffffff;
}

.founder-section h2 {
    position: relative;
    font-size: 30px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -1px;
    text-align: left;
    margin-bottom: 0;
}

.founder-section h2:before {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    top: -30px;
    left: -30px;
    background-image: url("/wp-content/uploads/2025/08/h1-rounded-corner.svg");
    background-position: center center;
}

.small-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
}

.founder-heading {
    margin-bottom: 25px;
}

.founder-section .button-outline {
    border: 2px solid rgba(217, 246, 251, 0.15);
    border-radius: 5px 5px 25px 5px;
    margin-top: 40px;
    color: #D9F6FB;
}

.founder-section .button-outline:hover {
    background-color: var(--light-blue);
    color: var(--blue);
    border-color: var(--light-blue);
}

.founder-section .container {
    position: relative;
}

.background-tullo-logo {
    position: absolute;
    bottom: -100px;
    right: -350px;
}

.background-tullo-logo img {
    height: 100%;
    display: block;
}

.founder-image {
    position: absolute;
    bottom: -100px;
    z-index: 5;
    right: -70px;
}

.founder-image img {
    max-height: 750px;
    height: 100%;
    display: block;
}

/* Founder Section */


/* Team members section */

.team-members-section {
    padding-block: 140px;
}

.team-members-row {
    display: flex;
    align-items: center;
    margin-top: 48px;
    column-gap: 40px;
}

.team-member-wrapper {
    width: 25%;
    position: relative;
    cursor: pointer;
    border-radius: 10px;
}

.team-member-inner {
    position: relative;
}

.team-member-inner:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: rgba(26, 37, 58, 0.62);
    opacity: 0;
    z-index: 3;
    transition: 0.3s all ease-in;
}

.read-more-wrapper {
    opacity: 0;
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.read-more-member {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    box-shadow: 0px 24px 30px 0px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(40px);
    background: rgba(255, 255, 255, 0.29);
    transform: scale(0.8);
    transition: transform 0.35s ease, background 0.3s ease-in;
}

.read-more-member img {
    width: 35px;
}

.team-member-inner span {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    margin-top: 20px;
    display: block;
}

.team-member-wrapper:hover .team-member-inner:before, .team-member-wrapper:hover .read-more-wrapper {
    opacity: 1;
}

.team-member-info h3 {
    font-size: 30px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -1px;
    text-align: left;
    margin-bottom: 3px;
}

.team-member-wrapper:hover .read-more-member {
    transform: scale(1);
    background: rgba(255, 255, 255, 0.4);
}


.team-member-info .small-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
}

.team-member-info {
    margin-top: 20px;
}

.team-container {
    width: 1565px;
    max-width: calc(100% - 30px);
    margin-inline: auto;
}

.team-member-image img {
    display: block;
    border-radius: 10px;
}

.team-member-backdrope {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -1;
    backdrop-filter: blur(23px);
    background: rgba(26, 37, 58, 0.75);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

.team-member-modal {
    padding: 60px;
    background-color: #ffffff;
    box-shadow: 0px 55px 83px 0px rgba(0, 0, 0, 0.37);
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 980px;
    max-width: 90%;
    opacity: 0;
    visibility: hidden;
    z-index: 99999;
}

.member-modal-content p {
    margin-bottom: 20px;
}

.team-member-backdrope.active {
    opacity: 1;
    z-index: 100000;
    visibility: visible;
    overflow: hidden;
}

html.active-body {
    overflow: hidden;
}

.team-member-modal.active {
    opacity: 1;
    visibility: visible;
}

.member-modal-heading h2 {
    margin-bottom: 0;
}

.member-modal-heading {
    margin-bottom: 40px;
}

.member-modal-content {
    max-height: 40vh;
    overflow-y: auto;
    padding-right: 30px;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 8px; /* širina */
}

::-webkit-scrollbar-track {
    background: transparent; /* pozadina tracka */
}

::-webkit-scrollbar-thumb {
    background: rgba(47, 71, 114, 0.6); /* boja thumb-a */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(47, 71, 114, 0.9);
}

/* Firefox */
* {
    scrollbar-width: thin; /* thin | auto | none */
    scrollbar-color: rgba(47, 71, 114, 0.6) transparent;
}

.pillars-section {
    padding-block: 100px;
    background-color: var(--light-blue);
}

.pillars-row {
    align-items: stretch;
}

.pillars-heading {
    width: 1000px;
    max-width: 100%;
    margin-inline: auto;
    margin-bottom: 100px;
}

.pillars-inner {
    padding-inline: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pillars-wrapper {
    border-right: 1px solid rgba(47, 71, 114, .10);
}

.pillars-wrapper h3 {
    font-size: 30px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -1px;
    margin-bottom: 32px;
}

.pillars-wrapper p {
    margin-bottom: 50px;
}

.pillars-wrapper:last-of-type {
    border-right: none;
}

.pillars-wrapper a {
    margin-top: auto;
}

/* Team members section ends */

@media(min-width: 991px) {
    .founder-section .button-outline {
        max-width: 285px;
    }
}

@media(min-width: 1200px) {
    .team-container {
        max-width: calc(100% - 60px);
    }
}

@media(max-width: 1300px) {
    .founder-section h2:before {
        top: -15px;
        left: -10px;
    }
}

@media(max-width: 1200px) {
    .founder-section h2:before {
        top: -30px;
        left: -30px;
    }
}

@media(max-width: 991px) {
    .section-with-image {
        padding-block: 60px;
    }

    .section-image {
        padding-left: 0;
    }

    .section-with-image .row {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
    }

    .background-tullo-logo {
        display: none;
    }

    .founder-image {
        position: relative;
    }

    .founder-heading {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .founder-section p {
        text-align: center;
    }

    .founder-section h2:before {
        display: none;
    }

    .founder-section {
        padding-top: 100px;
    }

    .founder-image img {
        max-height: 600px;
    }

    .founder-image {
        right: -110px;
    }

    .team-member-wrapper {
        width: calc(50% - 10px);
    }

    .team-members-row {
        row-gap: 20px;
        column-gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
    }

    .team-members-section {
        padding-block: 80px;
    }

    .team-members-section h2 {
        text-align: center;
    }

    .team-member-info {
        margin-top: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .team-member-modal {
        padding: 20px;
    }

    .member-modal-heading h2 {
        text-align: left;
    }

    .pillars-section {
        padding-block: 60px;
    }

    .pillars-row p {
        margin-bottom: 20px;
    }

    .pillars-wrapper {
        border-right: none;
        border-bottom: 1px solid rgba(47, 71, 114, .10);
        padding-block: 40px;
    }

    .pillars-wrapper:first-of-type {
        border-top: 1px solid rgba(47, 71, 114, .10);
    }
}

@media(max-width: 768px) {
    .founder-image {
        right: -20px;
    }

    .team-members-section {
        padding-block: 60px;
    }

    .pillars-heading {
        margin-bottom: 70px;
    }

  body  .hero-inner-info:before {
      top: -30px;
      left: 50%;
      transform: translateX(-50%);
      height: 4px;
      background-color: var(--green);
      background-image: unset;
    }
}

@media(max-width: 575px) {
    .section-image img {
        max-width: 225px;
    }

    .section-with-image {
        padding-block: 40px;
    }

    .founder-image img {
        height: 360px;
    }

    .founder-image {
        display: flex;
        justify-content: center;
        right: unset;
        bottom: -40px;
    }

    .founder-section {
        padding: 40px 0;
    }

    .founder-section h2 {
        font-size: 26px;
        line-height: 30px;
    }

    .team-members-section {
        padding-block: 40px;
    }

    .team-member-info h3 {
        font-size: 16px;
        font-weight: 500;
        line-height: 22px;
        letter-spacing: -1px;
        text-align: center;
    }

    .team-member-info .small-text {
        font-size: 14px;
        line-height: 18px;
        text-align: center;
    }

    .member-modal-heading h2 {
        font-size: 24px;
        line-height: 120%;
    }

    .pillars-section {
        padding-block: 40px;
    }

    .pillars-wrapper {
        padding-block: 32px;
    }

    .pillars-heading {
        margin-bottom: 32px;
    }

    .pillars-wrapper h3 {
        font-size: 26px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    body .fda-section {
        padding-top: 40px;
    }

    .pillars-wrapper h3 {
        font-size: 22px;
        line-height: 26px;
    }
}