@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Color Theme Options */
.gradient-bg-purple {
    background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%) !important;
}

.gradient-bg-dark-purple {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.skill-bar {
    transition: width 1s ease-in-out;
}

.scroll-smooth {
    scroll-behavior: smooth;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-photo-lg {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.profile-photo-placeholder-lg {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 6px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.profile-photo-sm {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.profile-photo-placeholder-sm {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Modern LinkedIn Post Cards */
.linkedin-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 500px; /* Fixed height for all cards */
    text-decoration: none; /* Remove underline from anchor */
    color: inherit; /* Inherit text color */
    cursor: pointer; /* Show pointer cursor */
}

.linkedin-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.linkedin-post-card:focus {
    outline: 2px solid #6b21a8;
    outline-offset: 2px;
}

.linkedin-post-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.linkedin-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(102, 126, 234), rgb(118, 75, 162));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.linkedin-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.linkedin-post-info {
    flex: 1;
    min-width: 0;
}

.linkedin-author {
    font-weight: 600;
    color: #191919;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.linkedin-post-meta {
    color: #666666;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.linkedin-post-type {
    background: #f3e8ff;
    color: #6b21a8;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.linkedin-post-content {
    padding: 0 1.5rem 1rem 1.5rem;
    flex: 1; /* Take up remaining space */
    display: flex;
    flex-direction: column;
    min-height: 0; /* Allow content to shrink */
}

.linkedin-post-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #191919;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    flex-shrink: 0; /* Prevent title from shrinking */
}

.linkedin-post-summary {
    color: #666666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex: 1; /* Take up remaining space in content area */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
}

.linkedin-post-image {
    width: 100%;
    height: 160px; /* Fixed height for images */
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.linkedin-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.linkedin-post-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #adb5bd;
    font-size: 3rem;
}

.linkedin-post-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0; /* Prevent footer from shrinking */
    margin-top: auto; /* Push footer to bottom */
}

.linkedin-post-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.linkedin-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666666;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.linkedin-action-btn:hover {
    background: #f8f9fa;
    color: #334155;
}

.linkedin-action-btn i {
    font-size: 1rem;
}

.linkedin-read-more {
    color: #6b21a8;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.linkedin-read-more:hover {
    color: #581c87;
}

/* Responsive design */
@media (max-width: 768px) {
    .linkedin-post-card {
        height: 450px; /* Slightly smaller height on mobile */
    }
    
    .linkedin-post-header {
        padding: 1rem 1rem 0.75rem 1rem;
    }
    
    .linkedin-post-content {
        padding: 0 1rem 0.75rem 1rem;
    }
    
    .linkedin-post-footer {
        padding: 0.75rem 1rem 1rem 1rem;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .linkedin-post-actions {
        justify-content: space-around;
    }
    
    .linkedin-post-image {
        height: 120px; /* Smaller image height on mobile */
    }
} 