/* ==========================
   Team Members Grid
   ========================== */
.tt-team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px auto;
}

/* Team Card */
.tt-team-member {
    flex: 1 1 250px;
    max-width: 280px;
    background: #f9f9f9;
    border: 1px solid #666;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 25px 20px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.tt-team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Member Photo */
.tt-team-member img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Name */
.tt-team-member h3 {
    margin: 10px 0;
    font-size: 1.2em;
    color: #333;
}

/* Phone */
.tt-team-member .tt-phone a {
    color: #0073aa;
    font-weight: bold;
    text-decoration: none;
}

.tt-team-member .tt-phone a:hover {
    text-decoration: underline;
}

/* Social Links */
.tt-social-links {
    margin-top: 10px;
}

.tt-social-links a {
    margin: 0 6px;
    font-weight: bold;
    color: #444;
    text-decoration: none;
}

.tt-social-links a:hover {
    opacity: 0.8;
}

/* Buttons */
.tt-buttons {
    margin-top: 20px;
}

.tt-buttons a {
    display: inline-block;
    padding: 10px 18px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    margin: 5px;
    min-width: 120px;
    font-weight: bold;
    transition: background .3s ease;
}

/* View Profile Button */
.tt-buttons .view-profile {
    background: #0073aa;
}
.tt-buttons .view-profile:hover {
    background: #005f87;
}

/* Send Message Button */
.tt-buttons .send-message {
    background: #28a745;
}
.tt-buttons .send-message:hover {
    background: #1e7e34;
}

/* ==========================
   Single Team Member Profile
   ========================== */
.tt-profile {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px 30px;
    background: #f9f9f9;
    border: 1px solid #666;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.tt-profile-photo img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tt-profile h1 {
    font-size: 2em;
    margin: 10px 0;
    color: #333;
}

.tt-profile .tt-phone a {
    color: #0073aa;
    font-weight: bold;
    text-decoration: none;
}

.tt-profile .tt-phone a:hover {
    text-decoration: underline;
}

.tt-profile .send-message {
    display: inline-block;
    margin: 15px 0;
    padding: 10px 20px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background .3s ease;
}

.tt-profile .send-message:hover {
    background: #1e7e34;
}

.tt-profile .tt-social-links {
    margin: 20px 0;
}

.tt-profile .tt-social-links a {
    margin: 0 10px;
    color: #444;
    text-decoration: none;
    font-weight: bold;
}

.tt-profile .tt-social-links a:hover {
    opacity: 0.8;
}

.tt-profile .tt-bio {
    margin-top: 25px;
    text-align: left;
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

.tt-profile .tt-back {
    margin-top: 30px;
}

.tt-profile .tt-back a {
    display: inline-block;
    padding: 8px 15px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background .3s ease;
}

.tt-profile .tt-back a:hover {
    background: #005f87;
}
