@import url('theme.css');

/* Partners Section Styles */
#partners-section-wrapper {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    margin-top: 1.5rem;
    width: 100%;
}
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-card-bg, #232323);
    border-radius: 16px;
    padding: 2.2rem 3.2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    min-width: 200px;
    max-width: 260px;
}
.partner-card:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.partner-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.1rem;
    border-radius: 12px;
    padding: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.partner-name {
    color: #FFD700;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.3rem;
    text-align: center;
}

.portfolio-stats-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
}

.stat-card {
    background: var(--color-dark-gray);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.portfolio-section {
    margin-bottom: 3rem;
    padding: 3rem 0;
}

.portfolio-category {
    margin-bottom: 2.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.portfolio-category:last-child {
    border-bottom: none;
}

.portfolio-category-title {
    font-size: 1.8rem;
    color: #FFD700;
    font-weight: 600;
    margin: 0 0 0.8rem 0;
}

.portfolio-category-subtitle {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.6;
    max-width: 800px;
}

.holdings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem 2rem;
    margin-top: 2rem;
}

.holding-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.holding-card:hover .holding-name {
    color: #FFD700;
}

.holding-logo {
    width: 180px;
    height: 100px;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.holding-card:hover .holding-logo {
    transform: scale(1.05);
}

.holding-placeholder {
    width: 180px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.holding-info {
    flex: 1;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.holding-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFD700;
    margin: 0 0 0.5rem 0;
    transition: color 0.2s ease;
}

.holding-sector {
    font-size: 1rem;
    color: #FFD700;
    opacity: 0.85;
    margin: 0;
    line-height: 1.4;
    padding-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.holding-sector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 3px;
    background-color: rgba(255, 215, 0, 0.4);
}

.holding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.holding-metrics {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.metric-value.positive {
    color: var(--color-gold);
    font-weight: bold;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--color-dark-gray);
    border-radius: 10px;
    padding: 1.5rem;
    flex: 1 1 320px;
    min-width: 260px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.service-number {
    font-size: 2rem;
    color: var(--color-gold);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.filter-controls {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-bar {
    flex: 1;
    max-width: 350px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-bar:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.search-bar::placeholder {
    color: #999;
}

.filter-dropdown-container {
    margin-bottom: 20px;
}

.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-dropdown-toggle {
    padding: 10px 20px;
    background-color: #FFD700;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.filter-dropdown-toggle:hover {
    background-color: #e6c200;
}

.filter-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 250px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 5px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.filter-dropdown-menu.active {
    max-height: 500px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.checkbox-item:hover {
    background-color: #e8e8e8;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #FFD700;
}

.checkbox-item span {
    color: #333;
    font-weight: 500;
}

.no-results {
    text-align: center;
    color: #999;
    padding: 2rem;
    font-size: 1.1rem;
}
