/* ==========================================================================
   GGAM & Associates LLP — About Us Dedicated Stylesheet (about.css)
   Specialized styling for heritage timeline, team filters, credential badges,
   and chamber showcase.
   ========================================================================== */

/* Timeline Visual Track & Nodes */
.timeline-track {
    position: relative;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 23px;
    width: 2px;
    background: linear-gradient(to bottom, #2563EB, #60A5FA, #CBD5E1);
}

@media (min-width: 768px) {
    .timeline-track-centered::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-node {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -10px rgba(15, 23, 42, 0.08);
    border-color: #93C5FD;
}

/* Team Filter Buttons */
.team-filter-btn {
    transition: all 0.25s ease;
}

.team-filter-btn.active {
    background-color: #2563EB !important;
    color: #FFFFFF !important;
    border-color: #2563EB !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.team-filter-btn:not(.active):hover {
    background-color: #EFF6FF;
    color: #1D4ED8;
    border-color: #BFDBFE;
}

/* Team Member Photo Frame & Hover Zoom */
.team-card-image-wrap {
    overflow: hidden;
    position: relative;
    border-radius: 1.5rem;
}

.team-card-image-wrap img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.team-member-card:hover .team-card-image-wrap img {
    transform: scale(1.06);
}

/* Credential Accreditation Badge Styling */
.credential-glow {
    position: relative;
    overflow: hidden;
}

.credential-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #10B981, #F59E0B);
}

/* Office Chambers Gallery Card */
.chamber-card {
    transition: all 0.3s ease;
}

.chamber-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.12);
}
