/* ==========================================================
   ABOUT PAGE
========================================================== */

.about-page h2 {

    text-align: center;

    font-size: 2.2rem;

    margin-bottom: .6rem;

}
.about-description {

    text-align: center;

    max-width: 900px;

    margin: 0 auto 1.14rem;

    font-size: 1.14rem;

    line-height: 1.14;

    color: var(--text-secondary);

}

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

.team-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;

}

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

.team-card {

    background: rgba(18, 26, 39, .92);

    border: 1px solid rgba(0,240,255,.12);

    border-radius: 16px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

}

.team-card:hover {

    transform: translateY(-8px);

    border-color: rgba(0,240,255,.55);

    box-shadow:

        0 0 20px rgba(0,240,255,.35),

        0 0 45px rgba(0,240,255,.28),

        0 0 80px rgba(0,240,255,.18),

        0 20px 45px rgba(0,0,0,.55);

}

/* ==========================================================
   IMAGE
========================================================== */

.member-image {

    width: 100%;

    height: 280px;

    overflow: hidden;

}

.member-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center top;

    display: block;

    transition: transform .35s ease;

}

.team-card:hover img {

    transform: scale(1.05);

}

/* ==========================================================
   INFO
========================================================== */

.member-summary {

    padding: 1.3rem;

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

}

.member-summary h3 {

    margin: 0;

    color: white;

    font-size: 1.3rem;

}

.member-role {

    margin-top: .6rem;

    color: var(--neon-cyan);

    line-height: 1.45;

    min-height: 48px;

    font-size:1.14rem;

}
.member-icon {

    width: 18px;

    height: 18px;

    object-fit: contain;

    filter: brightness(0) invert(1);

    transition: .25s;

}
.modal-links a:hover .member-icon {

    filter: brightness(0);

}

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

.view-details-btn {
    display:none;

    margin: 0 1rem 1rem;

    border: none;

    outline: none;

    cursor: pointer;

    padding: .85rem;

    border-radius: 10px;

    font-size: .95rem;

    font-weight: 600;

    background: rgba(0,240,255,.08);

    color: var(--neon-cyan);

    transition: .25s;

}

.view-details-btn:hover {

    background: var(--neon-cyan);

    color: #081018;

}

/* ==========================================================
   MODAL
========================================================== */

.team-modal {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.75);

    backdrop-filter: blur(8px);

    display: flex;

    justify-content: center;

    align-items: center;

    opacity: 0;

    visibility: hidden;

    transition: .3s ease;

    z-index: 9999;

}

.team-modal.show {

    opacity: 1;

    visibility: visible;

}

/* ==========================================================
   MODAL BOX
========================================================== */

.team-modal-content {

    width: min(800px,92vw);

    background: rgb(16,23,35);

    border: 1px solid rgba(0,240,255,.25);

    border-radius: 18px;

    display: flex;

    overflow: hidden;

    position: relative;

    transform: scale(.9);

    transition: .3s ease;

    box-shadow:

        0 20px 50px rgba(0,0,0,.6),

        0 0 30px rgba(0,240,255,.12);

}

.team-modal.show .team-modal-content {

    transform: scale(1);

}

/* ==========================================================
   CLOSE BUTTON
========================================================== */

.close-modal {

    position: absolute;

    right: 18px;

    top: 14px;

    width: 42px;

    height: 42px;

    border-radius: 50%;

    border: none;

    cursor: pointer;

    background: rgba(255,255,255,.08);

    color: white;

    font-size: 1.6rem;

    transition: .25s;

}

.close-modal:hover {

    background: crimson;

}

/* ==========================================================
   LEFT SIDE
========================================================== */

.modal-left {

    width: 38%;

    min-height: 580px;

    background: black;

}

.modal-left img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center top;

}

/* ==========================================================
   RIGHT SIDE
========================================================== */

.modal-right {

    width: 62%;

    padding: 2.2rem;

    overflow-y: auto;

}

.modal-right h2 {

    margin: 0;

    color: white;

    font-size: 2rem;

}

#modal-role {

    margin-top: .55rem;

    margin-bottom: 2rem;

    color: var(--neon-cyan);

    font-size: 1.05rem;

}

.modal-section {

    margin-bottom: 2rem;

}

.modal-section h3 {

    margin-bottom: 1rem;

    color: var(--neon-cyan);

}

.modal-section ul {

    padding-left: 20px;

}

.modal-section li {

    margin-bottom: .55rem;

    color: var(--text-secondary);

    line-height: 1.7;

}

/* ==========================================================
   LINKS
========================================================== */

.modal-links {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 1.5rem;

}

.modal-links a {

    padding: .8rem 1.1rem;

    border-radius: 10px;

    text-decoration: none;

    color: white;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.08);

    transition: .25s;
    display: inline-flex;

    align-items: center;

    gap: .55rem;

}

.modal-links a:hover {

    background: var(--neon-cyan);

    color: #081018;

}

/* ==========================================================
   SCROLLBAR
========================================================== */

.modal-right::-webkit-scrollbar {

    width: 8px;

}

.modal-right::-webkit-scrollbar-thumb {

    background: rgba(0,240,255,.35);

    border-radius: 20px;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:1100px) {

    .team-grid {

        grid-template-columns: repeat(2,1fr);

    }

}

@media (max-width:850px){

    .team-modal-content{
        flex-direction:column;
        width:95vw;
        max-height:90vh;
        overflow-y:auto;
    }

    .modal-left{
        width:100%;
        min-height:320px;
        height:350px;
        flex:none;
    }

    .modal-left img{
        width:100%;
        height:100%;
        object-fit:cover;
        object-position:center top;
    }

    .modal-right{
        width:100%;
        padding:1.25rem;
    }

    .modal-right h2{
        font-size:2rem;
    }

    #modal-role{
        font-size:1.2rem;
        margin-bottom:1rem;
    }

    .modal-section{
        margin-bottom:1rem;
    }

    .modal-section li{
        line-height:1.5;
        font-size:1rem;
    }
}

@media (max-width:700px) {

    .team-grid {

        grid-template-columns: 1fr;

    }

}
/* ==========================================
   COPY EMAIL BUTTON
========================================== */

.modal-copy-btn {

    border: none;

    cursor: pointer;

    padding: .8rem 1.1rem;

    border-radius: 10px;

    background: rgba(255,255,255,.06);

    color: white;

    border: 1px solid rgba(255,255,255,.08);

    transition: .25s;

    font-size: .95rem;

    font-family: inherit;

}

.modal-copy-btn:hover {

    background: var(--neon-cyan);

    color: #081018;

}

/* ==========================================
   TOAST
========================================== */

.copy-toast {

    position: fixed;

    left: 50%;

    bottom: 30px;

    transform: translateX(-50%) translateY(20px);

    background: rgba(15,23,35,.95);

    color: white;

    border: 1px solid rgba(0,240,255,.3);

    padding: .85rem 1.3rem;

    border-radius: 10px;

    box-shadow: 0 0 20px rgba(0,240,255,.2);

    opacity: 0;

    pointer-events: none;

    transition: .3s ease;

    z-index: 10000;

}

.copy-toast.show {

    opacity: 1;

    transform: translateX(-50%) translateY(0);

}
.error-text {
    color: #ff4d4d !important;
    font-weight: 600;
}