﻿main .nav-pills
{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-radius: 5px;
    background: rgba(255,255,255,0.9);
    padding: 5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

main .nav-pills > li
{
    flex: 1;
    text-align: center;
}

main .nav-pills > li > a
{
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 0 !important;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 0 2px;
    text-decoration: none;
    white-space: nowrap;
    font-size: medium;
}

main .nav-pills > li > a:hover
{
    background: transparent;
    color: #3498db;
    transform: translateY(-2px);
}

main .nav-pills > .active > a,
main .nav-pills > .active > a:focus,
main .nav-pills > .active > a:hover
{
    background: #4787be;
    color: white;
}

main .nav-pills i
{
    margin-right: 5px;
}

/* All your existing styles unchanged */
.tab-content
{
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.section-title
{
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
}

.section-title:after
{
    content: '';
    width: 80px;
    height: 3px;
    background: #3498db;
    position: absolute;
    bottom: -10px;
    left: 0;
}

.founder-message
{
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    color: white;
    padding: 35px;
    border-radius: 15px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.founder-message::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: rgba(255,255,255,0.2);
}

.founder-signature
{
    text-align: right;
    margin-top: 25px;
    font-style: italic;
}

.team-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.team-card
{
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover
{
    transform: translateY(-5px);
}

.team-photo
{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    position: relative;
}

.team-photo-img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.team-card:hover .team-photo-img
{
    transform: scale(1.05);
}

.team-photo img:not([src]),
.team-photo img[src=""],
.team-photo:has(img:not([src]))
{
    display: none;
}

.team-photo:not(:has(img[src]))
{
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.features-list
{
    list-style: none;
    padding: 0;
}

.features-list li
{
    padding: 15px 0;
    border-bottom: 1px solid #ecf0f1;
    position: relative;
    padding-left: 40px;
}

.features-list li:last-child
{
    border-bottom: none;
}

.features-list li::before
{
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.tab-content .list-inline
{
    font-size: x-large;
}

.legal-info
{
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 5px solid #3498db;
}

@media (max-width: 768px)
{
    main .nav-pills
    {
        gap: 8px;
        flex-direction: column;
        padding: 0px 8px;
    }

    main .nav-pills > li
    {
        min-width: 100%;
        max-width: 100%;
    }

    .tab-content
    {
        padding: 20px 15px;
    }
}
