/* Hero Section */

.team-hero {
    position: relative;
    min-height: 55vh;
    padding: 120px 20px 90px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 👈 shift content left like image */

    background-image: url("./assets/team-hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.team-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(86, 154, 203, 0.45);
}

.team-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(7, 16, 30, 0.75) 0%,
        rgba(7, 16, 30, 0.35) 40%,
        rgba(7, 16, 30, 0.1) 70%,
        transparent 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin-left: 40px;
    background: rgba(108, 194, 255, 0.28);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 32px 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.h1-team {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--text-main);
    margin-bottom: 14px;
}

.h1-team::after {
    content: "";
    display: block;
    width: 160px;
    height: 4px;
    margin-top: 12px;
    background: linear-gradient(
        90deg,
        #ffffff,
        rgba(255,255,255,0.4)
    );
    border-radius: 2px;
}

.team-hero-sub {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-soft);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.15s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Section */

@media (max-width: 768px) {
    .team-hero {
        justify-content: center;
        padding: 110px 20px 70px;
    }

    .hero-container {
        margin-left: 0;
        text-align: center;
        max-width: 90%;
    }
}

/* Page Setup */

#board-members {
    background: linear-gradient(
        to bottom,
        var(--bg-dark) 0%,
        var(--bg-light) 100%
    );
    padding: 100px 20px 80px;
}

.operations-section {
    position: relative;
    background: linear-gradient(
        to bottom,
        var(--bg-light) 0%,
        #050c18 100%
    );
    padding: 120px 20px 100px;
}

.operations-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
}

.bio-content {
    padding: 110px 20px;
    background: linear-gradient(
        to bottom,
        var(--primary-light),
        var(--bg-light)
    );
}

.team-container {
    max-width: 1100px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 55px;
}

.team-header h1,
.team-header h2 {
    color: var(--text-main);
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.team-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.team-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    transform: translateY(-4px);
}

.team-banner {
    position: relative;
    margin-bottom: 50px;
    overflow: hidden;
}

.team-banner img {
    width: 100%;
    height: auto;
    max-height: 420px; 
    object-fit: contain;
    display: block;
}

.team-card summary {
    list-style: none;
    cursor: pointer;
    padding: 24px;
}

.team-card summary::-webkit-details-marker {
    display: none;
}

.team-card h2 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.team-card h3 {
    font-size: 0.9rem;
    color: var(--primary-light);
    font-weight: 500;
}

.team-card summary::after {
    content: "Read more +";
    display: inline-block;
    margin-top: 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.team-card[open] {
    border-color: var(--primary-light);
}

.team-card[open] summary::after {
    content: "Show less −";
    color: var(--primary-light);
}

.team-card .bio-content {
    padding: 20px 24px 24px;
}

.team-card .bio-content p {
    color: var(--text-soft);
    line-height: 1.75;
    font-size: 0.92rem;
    margin-bottom: 12px;
}

@media (max-width: 600px) {
    .team-page-section {
        padding: 80px 18px;
    }

    .team-card summary {
        padding: 20px;
    }

    .team-card .bio-content {
        padding: 0 20px 20px;
    }
}

/* Partners Section */

.partners-section {
margin: 50px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.partner-logo {
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: 0.3s;
}

.partner-logo img:hover {
    opacity: 1;
    transform: scale(1.05);
    cursor: pointer;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background: #0f1724;
    padding: 40px 30px;
    border-radius: 18px;
    max-width: 650px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    opacity: 0.7;
    transition: 0.2s;
}

.modal-close:hover {
    opacity: 1;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fff;
}

.modal-content {
    background: #0f1724;
    padding: 40px 30px;
    border-radius: 18px;
    max-width: 650px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
}

.modal-image-wrapper {
    margin-bottom: 25px;
}

.modal-img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}
.modal-btn-group {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.modal-btn {
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.modal-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-light);
}

.modal-btn.secondary {
    background: rgba(255,255,255,0.15);
}

.modal-btn.secondary:hover {
    background: rgba(255,255,255,0.3);
}

.partner-logo img {
    object-fit: cover;
    border-radius: 8px;
}

