/* Social Section */
.social-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border-radius: 12px;
    padding: 1rem 2rem;
    text-decoration: none;
    color: #1a3a2e;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(26, 58, 46, 0.08);
    border-left: 4px solid #1a3a2e;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap; /* Prevent text wrapping */
    min-height: 60px; /* Ensure consistent height */
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 58, 46, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 32px rgba(26, 58, 46, 0.15);
    border-left-color: #2d5a45;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

/* Brand-specific hover colors */
.linkedin-link:hover {
    color: #0077b5;
    border-left-color: #0077b5;
}

.github-link:hover {
    color: #fd7e14;
    border-left-color: #fd7e14;
}

.medium-link:hover {
    color: #00ab6c;
    border-left-color: #00ab6c;
}

/* Ensure text is visible */
.social-link span,
.social-link:after {
    display: inline;
    visibility: visible;
}