/* ========================================================================
   PROFESSIONAL INFORMATION - SOPHISTICATED COMPACT DESIGN
   ======================================================================== */

.professional-info-compact {
    max-width: 900px;
    margin: 30px auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.professional-info-compact:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* Header Section */
.info-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 18px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.info-header:hover {
    background: linear-gradient(135deg, #1e8bc3 0%, #2980b9 100%);
    border-bottom-color: #f39c12;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.info-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.3em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.5px;
}

.info-header h3 i {
    margin-right: 12px;
    color: #3498db;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.info-header:hover h3 i {
    color: #f39c12;
}

.toggle-icon {
    color: #f39c12;
    font-size: 1.4em;
    transition: all 0.3s ease;
    font-weight: bold;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
    margin-left: 10px;
}

.info-header:hover .toggle-icon {
    color: #ffffff;
    transform: scale(1.2);
    animation: bounce 0.6s ease infinite;
}

/* Click hint text */
.info-header::after {
    content: '(click to expand)';
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75em;
    color: #95a5a6;
    font-style: italic;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.info-header:hover::after {
    color: #f39c12;
    opacity: 1;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Content Grid */
.info-content {
    padding: 25px;
    background: #ffffff;
    display: none;
    animation: slideDown 0.3s ease;
}

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

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Individual Info Items */
.info-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 12px rgba(52, 152, 219, 0.15);
    border-left-color: #2980b9;
}

.info-item i {
    font-size: 1.5em;
    color: #3498db;
    margin-right: 15px;
    margin-top: 2px;
    min-width: 25px;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    color: #2c3e50;
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    display: block;
    color: #555;
    font-size: 0.95em;
    line-height: 1.6;
}

.info-item a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* License Badges */
.license-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin: 4px 4px 4px 0;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.license-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .professional-info-compact {
        margin: 20px 15px;
        border-radius: 8px;
    }
    
    .info-header {
        padding: 15px 20px;
    }
    
    .info-header::after {
        font-size: 0.7em;
        right: 60px;
    }
    
    .info-header h3 {
        font-size: 1.1em;
    }
    
    .info-content {
        padding: 20px 15px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-item {
        padding: 14px;
    }
    
    .info-item:hover {
        transform: translateX(3px);
    }
}

@media (max-width: 480px) {
    .info-header::after {
        display: none; /* Hide hint text on very small screens */
    }
    
    .toggle-icon {
        font-size: 1.2em;
    }
    
    .info-header h3 {
        font-size: 1em;
    }
    
    .info-item i {
        font-size: 1.3em;
        margin-right: 12px;
    }
    
    .info-item strong {
        font-size: 0.9em;
    }
    
    .info-item span {
        font-size: 0.9em;
    }
    
    .license-badge {
        font-size: 0.8em;
        padding: 5px 12px;
    }
}

/* Print Styles */
@media print {
    .professional-info-compact {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .info-content {
        display: block !important;
    }
    
    .toggle-icon {
        display: none;
    }
    
    .info-header {
        background: #f8f9fa;
        border-bottom: 2px solid #333;
    }
    
    .info-header h3 {
        color: #333;
    }
}
