/* Our Founders Section */

.founders-content-area {
    padding: clamp(15px, 3vw, 30px);
    margin-bottom: 40px;
    flex-direction: column;
    display: flex;
    gap: 20px;
}

.founders-content-area p {
    font-size: clamp(16px, 1.8vw, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    color: var(--border-green);
}

.founders-dropdown-inner {
    border-top: solid 1px var(--green);
}

.founders-item {
    display: flex;
    flex-direction: column;
}

.founders-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: capitalize;
    border-bottom: solid 1px var(--green);
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: clamp(15px, 3vw, 30px);
    padding-right: clamp(15px, 3vw, 30px);
    cursor: pointer;
}

h2.founders-item-title {
    color: var(--green);
    font-size: clamp(24px, 3vw, 30px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: capitalize;
}

span.founders-item-icon {
    transition: ease 0.3s;
    rotate: 0deg;
}

span.founders-item-icon.rotate {
    rotate: -90deg;
}

.founders-item-content {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--border-green);
}

.founders-item-content-wrapper {
    padding: clamp(15px, 3vw, 30px);
}

/* Founders Grid */

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.founder-member-item {
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

/* Removed hover effect - role always visible */

.founder-member-image {
    display: flex;
    width: 100%;
    height: 300px;
}

.founder-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.founder-member-image:before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(9, 32, 8, 0.48) 78.5%);
    mix-blend-mode: multiply;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: ease 0.4s;
}

.founder-member-item:hover .founder-member-image:before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(9, 32, 8, 0.90) 69%);
}

.founder-member-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 30px 40px;
    z-index: 2;
}

h3.founder-member-name {
    color: var(--white);
    font-family: 'Instrument Sans';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    text-transform: uppercase;
}

.founder-member-details:after {
    content: '';
    width: calc(40% - 60px);
    height: 1px;
    position: absolute;
    z-index: 1;
    background: var(--white);
    bottom: 20px;
    transition: ease 0.4s;
}

.founder-member-item:hover .founder-member-details:after {
    width: calc(100% - 60px);
}

p.founder-member-role {
    display: flex;
    opacity: 1;
    color: var(--white);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    transition: ease 0.4s;
}

/* Founder Modal */

.founder-member-modal.active {
    opacity: 1;
    pointer-events: all;
    z-index: 99;
}

.founder-member-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: calc(100% - 120px);
    height: calc(100% - 120px);
    background: var(--white);
    padding: 60px;
    overflow-y: scroll;
}

.founder-member-modal-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: clamp(10px, 3vw, 40px);
}

button.founder-member-modal-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    padding: 10px;
    margin: 0;
    cursor: pointer;
    z-index: 99;
}

.founder-member-modal-details {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.founder-member-modal-image {
    position: relative;
    display: flex;
    width: 420px;
    height: 612px;
}

.founder-member-modal-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    top: 0;
    position: absolute;
    height: 100%;
}

h3.founder-member-modal-name {
    color: var(--green);
    font-family: 'adobe-caslon-pro';
    font-size: clamp(20px, 4vw, 50px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

p.founder-member-modal-role {
    color: var(--black);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

.founder-member-modal-text-content {
    margin-top: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.founder-member-modal-image a {
    padding: 10px;
    background: var(--green);
    z-index: 1;
    display: flex;
    margin-top: auto;
    width: 100%;
    align-items: center;
    gap: 5px;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
}

.founder-member-modal-text-content p,
.founder-member-modal-text-content a,
.founder-member-modal-text-content ul li {
    font-size: clamp(14px, 1.8vw, 18px);
    word-break: break-word;
}

.founder-member-modal-text-content:before {
    content: '';
    background: var(--black);
    width: 100%;
    height: 1px;
    top: -30px;
    left: 0;
    position: absolute;
}

/* Responsive styles */

@media (max-width: 1080px) {
    .founders-grid {
        grid-template-columns: 1fr 1fr;
    }

    .founder-member-modal-content-wrapper {
        grid-template-columns: 1fr;
    }

    .founder-member-modal-image {
        margin: auto;
    }
}

@media (max-width: 700px) {
    .founders-grid {
        grid-template-columns: 1fr;
    }

    .founder-member-modal {
        width: 100%;
        height: 100%;
        padding: 0;
    }

    button.founder-member-modal-close {
        top: 20px;
        right: 20px;
    }

    .founder-member-modal-image a svg {
        height: 18px;
        width: 18px;
    }

    .founder-member-modal-image a {
        font-size: 12px;
    }

    .founder-member-modal-image {
        height: 250px;
        width: 250px;
        margin-top: 100px;
    }
}