/* =========================================
   FOUNDER SECTION SPACING
========================================= */

.our-team {
    padding: 100px 0;
}

.founder-row {
    margin-top: 30px;
    margin-bottom: 0;
}


/* =========================================
   FOUNDER CARD
========================================= */

.founder-card .team-content {
    text-align: center;
}

.founder-card .team-image {
    cursor: pointer;
}

.founder-role {
    margin-bottom: 5px !important;
}

.founder-specialization {
    color: #b27a32;
    font-size: 13px;
    font-weight: 600;
    margin: 6px 0 16px;
    min-height: 20px;
}

/* .founder-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 22px;

    background: transparent;
    color: #b27a32;

    border: 1px solid #c99a58;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.35s ease;

    margin-bottom: 18px;
} */

/* .founder-profile-btn:hover {
    background: #b27a32;
    color: #ffffff;
} */

/* .founder-profile-btn i {
    transition: transform 0.35s ease;
} */
/* 
.founder-profile-btn:hover i {
    transform: translateX(5px);
} */


/* KEEP SOCIAL ICONS PROPERLY VISIBLE */

.founder-card .team-social-list {
    margin-top: 0;
}

.founder-card .team-social-icon ul {
    justify-content: center;
}


/* =========================================
   LEADERSHIP OVERVIEW
========================================= */

.leadership-overview {
    /* margin-top: 70px;
    margin-bottom: 70px; */
     margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 10px;
}

.leadership-heading {
    text-align: center;
    margin-bottom: 35px;
}

.leadership-heading > span {
    display: block;

    color: #b27a32;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 2px;

    margin-bottom: 12px;
}

.leadership-heading h2 {
    color: #263033;

    font-size: 36px;
    font-weight: 700;

    margin: 0;
}

.leadership-heading h2 em {
    color: #b27a32;
    font-style: normal;
}


/* =========================================
   LEADERSHIP TEXT BOX
========================================= */

.leadership-description {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 28px 35px;

    background: #f6f2eb;

    border-left: 3px solid #b27a32;

    max-width: 1050px;
    margin: 0 auto;
}

.leadership-quote-icon {
    color: #b27a32;
    font-size: 22px;
    line-height: 1;
    padding-top: 5px;
}

.leadership-description p {
    color: #505b5e;

    font-size: 14px;
    line-height: 1.9;

    margin: 0;
}


/* =========================================
   FACILITY SECTION
========================================= */

.about-facility-list {
    margin-top: 40px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .our-team {
        padding: 80px 0;
    }

    .leadership-overview {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .leadership-heading h2 {
        font-size: 30px;
    }

}


@media (max-width: 767px) {

    .our-team {
        padding: 60px 0;
    }

    .founder-row {
        margin-top: 20px;
    }

    .founder-card {
        margin-bottom: 45px;
    }

    .leadership-overview {
        margin-top: 25px;
        margin-bottom: 50px;
    }

    .leadership-heading h2 {
        font-size: 26px;
        line-height: 1.4;
    }

    .leadership-description {
        padding: 25px 20px;
        gap: 12px;
    }

    .leadership-description p {
        font-size: 13px;
        line-height: 1.8;
    }

}

/* =========================================
   PREMIUM FOUNDER PROFILE BUTTON
========================================= */

.founder-profile-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-width: 190px;
    height: 48px;

    padding: 0 22px;

    background: #ffffff;
    color: #263033;

    border: 1px solid #d7c4aa;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;

    cursor: pointer;
    overflow: hidden;

    transition: color 0.4s ease,
                border-color 0.4s ease,
                transform 0.3s ease,
                box-shadow 0.4s ease;

    margin-bottom: 4px;
    margin-top: 16px;
}

/* GOLD FILL */
.founder-profile-btn::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 100%;

    background: #b27a32;

    transition: width 0.45s ease;

    z-index: 0;
}

/* TEXT ABOVE BACKGROUND */
.founder-profile-btn span,
.founder-profile-btn i {
    position: relative;
    z-index: 1;
}

/* ARROW */
.founder-profile-btn i {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-left: 1px solid #d7c4aa;

    padding-left: 12px;

    font-size: 12px;

    transition: transform 0.4s ease,
                border-color 0.4s ease;
}

/* HOVER */
.founder-profile-btn:hover {
    color: #ffffff;

    border-color: #b27a32;

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(178, 122, 50, 0.18);
}

/* ANIMATE GOLD BACKGROUND */
.founder-profile-btn:hover::before {
    width: 100%;
}

/* MOVE ARROW */
.founder-profile-btn:hover i {
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ===========================founder popup css start============== */
/* =========================================
   FOUNDER MODAL - MAIN
========================================= */

.founder-modal {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.founder-modal.active {
    display: flex;
    animation: founderModalFade 0.4s ease forwards;
}

@keyframes founderModalFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* =========================================
   BACKGROUND OVERLAY
========================================= */

.founder-modal-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(20, 29, 30, 0.92),
            rgba(35, 48, 49, 0.82)
        );

    backdrop-filter: blur(8px);

    cursor: pointer;
}


/* =========================================
   MODAL BOX
========================================= */

.founder-modal-dialog {
    position: relative;

    width: 100%;
    max-width: 1180px;
    max-height: 90vh;

    background: #f7f6f3;

    z-index: 2;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);

    animation: founderModalUp 0.5s ease forwards;
}

@keyframes founderModalUp {
    from {
        opacity: 0;
        transform: translateY(35px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* GOLD TOP ACCENT */

.founder-modal-dialog::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #8e642c,
        #d6aa68,
        #8e642c
    );

    z-index: 5;
}


/* =========================================
   INNER LAYOUT
========================================= */

.founder-modal-inner {
    display: grid;

    grid-template-columns: 38% 62%;

    min-height: 620px;
}


/* =========================================
   FOUNDER IMAGE
========================================= */

.founder-modal-image {
    position: relative;

    overflow: hidden;

    background: #263033;
}

.founder-modal-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        transparent 45%,
        rgba(20, 29, 30, 0.75) 100%
    );
}

.founder-modal-image img {
    width: 100%;
    height: 100%;

    min-height: 620px;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.7s ease;
}

.founder-modal-dialog:hover .founder-modal-image img {
    transform: scale(1.03);
}


/* =========================================
   CONTENT AREA
========================================= */

.founder-modal-content {
    position: relative;

    padding: 70px 65px 55px;

    max-height: 90vh;

    overflow-y: auto;

    background:
        linear-gradient(
            135deg,
            #fbfaf8 0%,
            #f3f0ea 100%
        );
}


/* CUSTOM SCROLLBAR */

.founder-modal-content::-webkit-scrollbar {
    width: 6px;
}

.founder-modal-content::-webkit-scrollbar-track {
    background: #e9e4dc;
}

.founder-modal-content::-webkit-scrollbar-thumb {
    background: #b27a32;
}


/* =========================================
   CLOSE BUTTON
========================================= */

.founder-modal-close {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(178, 122, 50, 0.4);

    background: rgba(255, 255, 255, 0.9);

    color: #263033;

    font-size: 19px;

    cursor: pointer;

    z-index: 10;

    transition: all 0.35s ease;
}

.founder-modal-close:hover {
    background: #b27a32;

    color: #ffffff;

    border-color: #b27a32;

    transform: rotate(90deg);
}


/* =========================================
   HEADER
========================================= */

.founder-modal-header {
    position: relative;

    padding-bottom: 28px;

    margin-bottom: 30px;

    border-bottom: 1px solid #ded8cf;
}

.founder-modal-header::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 80px;
    height: 3px;

    background: #b27a32;
}


/* FOUNDER LABEL */

.modal-label {
    display: inline-flex;
    align-items: center;

    color: #b27a32;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;

    margin-bottom: 15px;
}

.modal-label::before {
    content: "";

    width: 30px;
    height: 1px;

    background: #b27a32;

    margin-right: 10px;
}


/* NAME */

.founder-modal-content h2 {
    color: #263033;

    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;

    margin: 0 0 14px;
}


/* DESIGNATION */

.founder-modal-content h4 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;

    color: #b27a32;

    font-size: 15px;
    font-weight: 600;

    margin: 0;
}

.founder-modal-content h4 span {
    color: #b5b1aa;

    font-size: 16px;
}


/* =========================================
   TEXT CONTENT
========================================= */

.founder-modal-text {
    margin-bottom: 35px;
}

.founder-modal-text p {
    color: #596265;

    font-size: 15px;
    line-height: 1.9;

    margin-bottom: 20px;
}

.founder-modal-text p:last-child {
    margin-bottom: 0;
}


/* =========================================
   FOCUS AREAS
========================================= */

.founder-focus-list {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    border-top: 1px solid #ded8cf;

    padding-top: 30px;

    margin-top: 35px;
}

.focus-item {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    min-height: 110px;

    padding: 10px 8px;

    border-right: 1px solid #ded8cf;

    transition: all 0.35s ease;
}

.focus-item:last-child {
    border-right: none;
}

.focus-item i {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    background: #ffffff;

    color: #b27a32;

    border: 1px solid #e1d7c8;

    border-radius: 50%;

    font-size: 17px;

    transition: all 0.35s ease;
}

.focus-item span {
    color: #3c4749;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.5;
}

.focus-item:hover i {
    background: #b27a32;

    color: #ffffff;

    transform: translateY(-5px);

    box-shadow: 0 8px 20px rgba(178, 122, 50, 0.2);
}

.focus-item:hover span {
    color: #b27a32;
}


/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (max-width: 991px) {

    .founder-modal {
        padding: 20px;
    }

    .founder-modal-inner {
        grid-template-columns: 35% 65%;
    }

    .founder-modal-content {
        padding: 60px 40px 45px;
    }

    .founder-modal-content h2 {
        font-size: 34px;
    }

    .founder-focus-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .focus-item {
        border: none;

        background: #ffffff;

        min-height: 100px;
    }
}


/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 767px) {

    .founder-modal {
        align-items: flex-start;

        overflow-y: auto;

        padding: 15px;
    }

    .founder-modal-dialog {
        max-height: none;

        margin: 15px 0;
    }

    .founder-modal-inner {
        grid-template-columns: 1fr;
    }

    .founder-modal-image {
        height: 320px;
    }

    .founder-modal-image img {
        min-height: 320px;

        height: 320px;

        object-position: top center;
    }

    .founder-modal-content {
        max-height: none;

        overflow: visible;

        padding: 50px 25px 35px;
    }

    .founder-modal-close {
        top: 15px;
        right: 15px;

        width: 42px;
        height: 42px;
    }

    .founder-modal-content h2 {
        font-size: 30px;
    }

    .founder-modal-content h4 {
        font-size: 13px;
        line-height: 1.6;
    }

    .founder-modal-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .founder-focus-list {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;

        margin-top: 25px;

        padding-top: 25px;
    }

    .focus-item {
        min-height: 105px;

        border: 1px solid #e5dfd5;
    }

    .focus-item:last-child {
        grid-column: span 2;

        max-width: 50%;

        margin: auto;
        width: 100%;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .founder-modal {
        padding: 8px;
    }

    .founder-modal-image {
        height: 260px;
    }

    .founder-modal-image img {
        height: 260px;
        min-height: 260px;
    }

    .founder-modal-content {
        padding: 40px 20px 30px;
    }

    .founder-modal-content h2 {
        font-size: 26px;
    }

    .founder-modal-header {
        margin-bottom: 25px;
    }

    .focus-item span {
        font-size: 10px;
    }

}
/* =======================founder popup css end======================= */