/* VARS Royal Palace - About Us Page Stylesheet (about.css) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(8, 18, 40, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(199, 125, 125, 0.1);
    cursor: pointer;
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-rose), var(--primary-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(8, 18, 40, 0.15);
    border-color: var(--primary-gold);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blush), var(--primary-rose));
    color: var(--secondary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto 1.25rem auto;
    border: 3px solid var(--primary-gold);
    transition: transform 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1) rotate(5deg);
}

.team-name {
    font-size: 1.25rem;
    color: var(--secondary-navy);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.9rem;
    color: var(--primary-rose);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.88rem;
    color: #5b6877;
    line-height: 1.5;
    opacity: 0.85;
}

/* Interactive Tabs Section */
.about-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.about-tab-btn {
    background: transparent;
    border: 2px solid var(--primary-rose);
    color: var(--secondary-navy);
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-tab-btn:hover,
.about-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-rose), var(--secondary-navy));
    color: white;
    border-color: var(--secondary-navy);
    box-shadow: 0 4px 15px rgba(199, 125, 125, 0.3);
}

.about-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.about-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Milestone Timeline */
.timeline-section {
    margin: 4rem 0;
}

.timeline-container {
    position: relative;
    max-width: 860px;
    margin: 2.5rem auto 0;
    padding: 1rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--royal-gold, #C5A059) 0%, rgba(197, 160, 89, 0.2) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1.5rem 2.5rem;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 2rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--royal-gold, #C5A059);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.4);
    z-index: 2;
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.timeline-card-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(8, 18, 40, 0.07);
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.3s ease;
}

.timeline-card-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.2);
    border-color: var(--royal-gold, #C5A059);
}

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--royal-navy, #152551);
    margin-bottom: 4px;
}

.timeline-title {
    font-weight: 700;
    color: #b45309;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 0.88rem;
    color: #5b6877;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
        text-align: left !important;
    }
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }
    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 10px;
        right: auto;
    }
}

/* FAQ Accordion */
.faq-section {
    margin: 4rem 0;
}

.faq-accordion-wrap {
    max-width: 860px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(8, 18, 40, 0.04);
}

.faq-item.active {
    border-color: var(--royal-gold, #C5A059);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.15);
}

.faq-question-btn {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--royal-navy, #152551);
    text-align: left;
    cursor: pointer;
    gap: 1rem;
    font-family: inherit;
}

.faq-question-btn:hover {
    color: #b45309;
}

.faq-icon-indicator {
    font-size: 1.2rem;
    color: var(--royal-gold, #C5A059);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon-indicator {
    transform: rotate(45deg);
}

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    color: #5b6877;
    font-size: 0.95rem;
    line-height: 1.65;
}

.faq-item.active .faq-answer-panel {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

