/* =================================== */
/* TEAM PAGE STYLES                    */
/* =================================== */



/* Founder Section */
.founder-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Slightly wider text area */
    gap: 60px;
    align-items: center;
}

.founder-image img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* Slight rounding for elegance */
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.founder-info h2 {
    font-size: 40px;
    margin-bottom: 5px;
}

.founder-title {
    font-family: 'Lato', sans-serif;
    color: #C5A059; /* Gold */
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.founder-info p {
    color: #555;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.founder-credentials {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.founder-credentials p {
    margin-bottom: 10px;
    color: #333;
    font-size: 15px;
}

.founder-credentials i {
    color: #0A2342;
    margin-right: 10px;
    width: 20px;
}

/* Team Cards Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Only 2 cards per row */
    gap: 40px; /* Larger gap for bigger cards */
    justify-items: center; /* Centers the cards if there is an odd number */
}

.team-card {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
    overflow: hidden;
    width: 100%; /* Makes sure cards take up the full grid space */
    max-width: 450px; /* Prevents them from getting too wide on large screens */
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-img-placeholder {
    height: 350px; /* Taller placeholder for a bigger card */
    background-color: #F8F9FA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #ccc;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.team-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.team-card:hover .team-img-placeholder img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

.team-info {
    padding: 30px; /* More padding for a premium feel */
}

.team-info h3 {
    font-size: 22px; /* Slightly larger name */
    margin-bottom: 5px;
}

.team-role {
    display: block;
    color: #C5A059;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.team-info p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px; /* Adds space between text and LinkedIn button */
}

/* Team Page Mobile Responsive */
@media (max-width: 768px) {
    .founder-grid {
        grid-template-columns: 1fr;
    }
    .founder-image {
        max-width: 400px;
        margin: 0 auto 40px;
    }
    .team-grid {
        grid-template-columns: 1fr; /* Stacks 1 per row on mobile */
    }
}