/* ============================================
   PREMIUM DENTAL PROFESSIONALS SECTION
============================================ */

.dental-professionals {
    padding: var(--section-padding) 0;
    position: relative;
    background: #f8fafc;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dental-professionals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 167, 225, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(124, 58, 237, 0.03) 0%, transparent 40%);
    z-index: 1;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    margin-top: -10px;
}

.premium-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 5;
    max-width: 100%;
}

.premium-tabs {
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), inset 0 2px 4px rgba(0, 0, 0, 0.02);
    flex-wrap: wrap;
    justify-content: center;
}

.premium-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    color: var(--gray-600);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-tab i {
    font-size: 16px;
}

.premium-tab:hover {
    color: var(--primary-blue);
}

.premium-tab.active {
    background: linear-gradient(135deg, #00a7e1 0%, #00d4aa 100%);
    color: var(--white) !important;
    box-shadow: 0 8px 20px rgba(0, 167, 225, 0.3);
    transform: translateY(-2px);
}

/* Tab Content Grid */
.premium-tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

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

.publications-grid {
    display: grid;
    grid-template-columns: 1fr 350px 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* Publication Cards */
.pub-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 20px;
}

.premium-pub-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.premium-pub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 167, 225, 0.1);
}

.premium-pub-card.reverse {
    flex-direction: row-reverse;
    text-align: right;
}

.pub-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
}

.pub-icon.red {
    background: linear-gradient(135deg, #ff6b6b, #ee5253);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.pub-icon.blue {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
    box-shadow: 0 5px 15px rgba(72, 219, 251, 0.3);
}

.pub-icon.teal {
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
    box-shadow: 0 5px 15px rgba(29, 209, 161, 0.3);
}

.pub-icon.purple {
    background: linear-gradient(135deg, #a55eea, #8854d0);
    box-shadow: 0 5px 15px rgba(165, 94, 234, 0.3);
}

.pub-icon.orange {
    background: linear-gradient(135deg, #fda7df, #9980FA);
    box-shadow: 0 5px 15px rgba(253, 167, 223, 0.3);
}

/* Changed to gradient */
.pub-icon.green {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.pub-icon.yellow {
    background: linear-gradient(135deg, #feca57, #ff9f43);
    box-shadow: 0 5px 15px rgba(254, 202, 87, 0.3);
}

.pub-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--gray-800);
}

.pub-details p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}

/* Center Image */
.pub-center {
    display: flex;
    justify-content: center;
    position: relative;
    height: 100%;
}

.center-image-wrapper {
    position: relative;
    width: 300px;
    height: 450px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 167, 225, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.floating-image {
    position: relative;
    z-index: 1;
    max-height: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 60px;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray-500);
}

/* Responsive */
@media (max-width: 1200px) {
    .publications-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pub-center {
        display: none;
    }

    .premium-pub-card.reverse {
        flex-direction: row;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .premium-tabs-wrapper {
        margin-bottom: 30px;
        max-width: 100%;
        overflow: hidden;
    }

    .premium-tabs {
        padding: 5px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        max-width: 100%;
        width: 100%;
        /* CustomScrollbar for Tabs */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
        -webkit-overflow-scrolling: touch;
    }

    .premium-tabs::-webkit-scrollbar {
        display: none;
    }

    .premium-tab {
        padding: 10px 18px;
        font-size: 13px;
        flex: 0 0 auto;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        min-width: max-content;
    }

    /* Important: Show text on mobile for better usability */
    .premium-tab span {
        display: inline;
    }
}