/* CamelX Team – Front-end Styles */

.cxteam-section {
    color: #0a2252;
    padding: 0;
    background-color: #f8f9fa;
}

/* Header */
.cxteam-header {
    margin-bottom: 60px;
}
.cxteam-section[dir="ltr"] .cxteam-header {
    text-align: left;
}
.cxteam-section[dir="rtl"] .cxteam-header {
    text-align: right;
}

.cxteam-subtitle {
    color: #0b8087;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cxteam-description {
    max-width: 90%;
    width: 800px;
    color: #333;
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 21px;
    font-weight: 100;
}

/* Grid */
.cxteam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.cxteam-member {
    background-color: #fff;
    opacity: 0;
}

.cxteam-member-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #f1f1f1;
}

.cxteam-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cxteam-placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    transition: transform 0.4s ease;
}

.cxteam-member:hover .cxteam-member-image img,
.cxteam-member:hover .cxteam-placeholder-image {
    transform: scale(1.05);
}

.cxteam-member-info {
    padding: 20px;
}

.cxteam-member-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.cxteam-member-title {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.cxteam-member-bio {
    color: #333;
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 21px;
    font-weight: 100;
    margin-bottom: 20px;
}

/* Social Links */
.cxteam-social-links {
    display: flex;
    align-items: center;
}

.cxteam-linkedin-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.cxteam-linkedin-link:hover {
    filter: brightness(0.5);
    transition: all .5s;
}

.cxteam-linkedin-icon {
    width: 33px;
    height: 33px;
    filter: brightness(1);
    transition: all .5s;
}

/* Desktop */
@media (min-width: 900px) {
    .cxteam-member-bio {
        height: 199px;
    }
    .cxteam-member-bio p {
        font-size: 15px;
    }
    p.cxteam-member-title {
        height: 48px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .cxteam-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

/* Mobile */
@media (max-width: 480px) {
    .cxteam-section {
        padding: 40px 0;
    }
    .cxteam-header {
        margin-bottom: 40px;
    }
    .cxteam-grid {
        grid-template-columns: 1fr;
    }
}
